With an .htaccess file, you will specify how the server which deals with the requests to your web sites must act a number of cases. This is a text file with directives that are performed when an individual tries to open your Internet site and what happens next depends on the content of the file. For instance, you may block a particular IP address from accessing the website, which means that the server will decline the visitor’s request, or you can forward your domain name to an alternative URL, so the server may direct the visitor to the new web address. You can also use custom error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, including WordPress, Drupal™ and Joomla™, use an .htaccess file to work correctly.