With an .htaccess file, you shall determine how the server which addresses the requests to your web sites should act in different situations. This is a text file with directives that are carried out when somebody tries to open your site and what happens next is determined by the content of the file. As an illustration, you can block a particular IP address from opening your website, so the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server will redirect the visitor to the new web address. You may also use personalized error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven apps, like Joomla™, WordPress and Drupal™, use an .htaccess file to operate properly.