With an .htaccess file, you shall define how the server which deals with the requests to your Internet sites have to act in different scenarios. This is a text file with directives that are carried out when an individual tries to open your site and what happens next depends on the content of the file. For instance, you can block a particular IP address from accessing the website, and the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server will redirect the visitor to the new web address. You may also use custom-made error pages or secure 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, Drupal™ and Joomla™, use an .htaccess file to function correctly.