With an .htaccess file, you shall define how the web server that handles the requests to your web sites have to act in different situations. This is a text file with directives that are carried out when an individual tries to open your Internet site and what happens next depends on the content of the file. As an illustration, you could block a specific IP address from accessing the website, and the server will decline the visitor’s request, or you can forward your domain name to another URL, so the server may redirect the visitor to the new web address. Also you can use custom error pages or preserve any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, like Joomla™, WordPress and Drupal™, use an .htaccess file to function efficiently.