With an .htaccess file, you shall specify how the web server which deals with the requests to your Internet sites have to act in various cases. This is a text file with directives that are carried out when somebody tries to open your website and what happens next will depend on the content of the file. As an illustration, you can block a particular IP address from opening the Internet site, which means that the server will decline your 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 customized error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven applications, such as WordPress, Drupal™ and Joomla™, use an .htaccess file to function efficiently.