With an .htaccess file, you shall determine how the web server which handles the requests to your web sites must act a number of scenarios. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next is determined by the content of the file. For instance, you could block a particular IP address from opening the Internet site, and the server will decline the visitor’s request, or you can forward your domain name to a different URL, so the server will direct the visitor to the new web address. Also you can use custom error pages or preserve any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven applications, including Joomla™, Drupal™ and WordPress, use an .htaccess file to function correctly.