With an .htaccess file, you shall determine how the web server that manages the requests to your web sites have to act in a variety of occasions. This is a text file with directives that are executed when someone tries to open your site and what happens next is determined by the content of the file. For instance, you may block a particular IP address from opening your website, and the server will decline your visitor’s request, or you can forward your domain to a different URL, so the server will direct the visitor to the new web address. You can also use personalized error pages or shield any part of your site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, like Drupal™, Joomla™ and WordPress, use an .htaccess file to function efficiently.