With an .htaccess file, you can specify how the server that addresses the requests to your Internet sites have to act in different 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 accessing your website, so the server will decline your visitor’s request, or you can forward your domain name to an alternative URL, so the server may direct the visitor to the new web address. You could also use tailor-made 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, including WordPress, Drupal™ and Joomla™, use an .htaccess file to operate properly.