With an .htaccess file, you will define how the server that addresses the requests to your web sites should act a number of scenarios. 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. For example, you may block a specific IP address from opening the website, and the server will decline the visitor’s request, or you can redirect your domain to a different URL, so the server may direct the visitor to the new web address. You could also use personalized error pages or shield any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, including Joomla™, WordPress and Drupal™, use an .htaccess file to work efficiently.