With an .htaccess file, you will define how the server which manages the requests to your web sites have to act in different cases. This is a text file with directives that are performed when an individual tries to open your website and what happens next depends on the content of the file. As an example, you could block a specific IP address from accessing the site, and the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server may direct the visitor to the new web address. You may also use tailor-made error pages or shield any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, such as WordPress, Drupal™ and Joomla™, use an .htaccess file to operate efficiently.