With an .htaccess file, you can define how the web server that manages the requests to your web sites must act in various cases. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next depends on the content of the file. For 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 to an alternative URL, so the server will direct the visitor to the new web address. You may also use tailor-made error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many popular script-driven applications, including WordPress, Joomla™ and Drupal™, use an .htaccess file to function correctly.