With an .htaccess file, you shall specify how the web server that manages the requests to your web sites have to act in various occasions. This is a text file with directives that are executed when someone tries to open your Internet site and what happens next depends on the content of the file. For instance, you could block a certain IP address from opening the Internet site, so the server will decline your visitor’s request, or you can redirect your domain name to a different URL, so the server will direct the visitor to the new web address. Also you can use customized error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven applications, including WordPress, Drupal™ and Joomla™, use an .htaccess file to function correctly.