With an .htaccess file, you shall define how the web server which manages the requests to your websites should act in a variety of cases. 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 example, you could block a particular IP address from opening your website, which means that the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server may direct the visitor to the new web address. You can also use tailor-made error pages or shield any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, including Drupal™, Joomla™ and WordPress, use an .htaccess file to work efficiently.