With an .htaccess file, you shall determine how the server that addresses the requests to your websites should act a number of scenarios. This is a text file with directives that are performed when somebody tries to open your site and what happens next is determined by the content of the file. As an illustration, you can block a certain IP address from opening your website, therefore the server will decline the visitor’s request, or you can redirect 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 secure any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, like Drupal™, Joomla™ and WordPress, use an .htaccess file to function properly.