With an .htaccess file, you can determine how the server which addresses the requests to your websites have to act in a variety of occasions. This is a text file with directives that are carried out when an individual tries to open your website and what happens next will depend on the content of the file. As an example, you can block a certain IP address from accessing the website, so the server will decline the visitor’s request, or you can redirect your domain name to some other URL, so the server will direct the visitor to the new web address. You could also use personalized error pages or shield any part of your site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, like Joomla™, Drupal™ and WordPress, use an .htaccess file to work properly.