With an .htaccess file, you can specify how the web server that handles the requests to your websites should act in a variety of cases. 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 the website, therefore the server will decline your visitor’s request, or you can forward your domain to a different URL, so the server may redirect the visitor to the new web address. Also you can use customized error pages or preserve any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, including Joomla™, Drupal™ and WordPress, use an .htaccess file to operate correctly.