With an .htaccess file, you shall specify how the web server which manages the requests to your websites have to act in different occasions. This is a text file with directives that are carried out when somebody tries to open your site and what happens next will depend on the content of the file. As an example, you can block a particular IP address from accessing the Internet site, so the server will decline the visitor’s request, or you can redirect your domain name to a different URL, so the server may redirect the visitor to the new web address. You could also use tailor-made error pages or preserve any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven applications, including Joomla™, WordPress and Drupal™, use an .htaccess file to operate properly.