With an .htaccess file, you can specify how the web server which manages the requests to your Internet sites must act in a variety of scenarios. This is a text file with directives that are executed when an individual tries to open your site and what happens next is determined by the content of the file. For instance, you could block a certain IP address from opening the site, therefore the server will decline the visitor’s request, or you can forward your domain name to a different URL, so the server will redirect the visitor to the new web address. You could also use customized error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven applications, including WordPress, Joomla™ and Drupal™, use an .htaccess file to work efficiently.