With an .htaccess file, you will define how the web server which deals with the requests to your web sites should act in a variety of cases. This is a text file with directives that are carried out when an individual tries to open your Internet site and what happens next will depend on the content of the file. As an example, you can block a particular IP address from opening your website, therefore the server will decline the visitor’s request, or you can forward your domain name to some other URL, so the server may redirect the visitor to the new web address. You could also use custom 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 apps, such as Joomla™, WordPress and Drupal™, use an .htaccess file to function correctly.