With an .htaccess file, you can determine how the server that addresses the requests to your websites should act a number of occasions. This is a text file with directives that are carried out when somebody tries to open your website and what happens next is determined by the content of the file. For instance, you can block a certain IP address from accessing your website, therefore the server will decline your visitor’s request, or you can forward your domain name to some other URL, so the server will direct the visitor to the new web address. You could also use customized 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 function correctly.