With an .htaccess file, you'll specify how the server which manages the requests to your websites should act in various situations. This is a text file with directives that are carried out when somebody tries to open your site and what happens next will depend on the content of the file. For example, you could 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 some other URL, so the server may redirect the visitor to the new web address. You may also use tailor-made error pages or protect any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven applications, including Drupal™, Joomla™ and WordPress, use an .htaccess file to operate efficiently.