With an .htaccess file, you shall determine how the web server which addresses the requests to your Internet sites must act a number of scenarios. This is a text file with directives that are carried out when someone tries to open your website and what happens next will depend on the content of the file. As an example, you may block a specific IP address from opening the website, so the server will decline the visitor’s request, or you can forward your domain name to another URL, so the server will direct the visitor to the new web address. You may also use customized error pages or protect any part of your website with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven applications, including WordPress, Drupal™ and Joomla™, use an .htaccess file to function properly.