With an .htaccess file, you'll specify how the web server that deals with the requests to your websites should act a number of occasions. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next depends on the content of the file. As an illustration, you could block a particular IP address from accessing your website, which means that the server will decline the visitor’s request, or you can forward your domain to a different URL, so the server will redirect the visitor to the new web address. Also you can use customized error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven apps, including Joomla™, WordPress and Drupal™, use an .htaccess file to function efficiently.