With an .htaccess file, you will determine how the server which deals with the requests to your Internet sites must act a number of situations. This is a text file with directives that are performed when someone tries to open your website and what happens next is determined by the content of the file. As an illustration, you can block a specific IP address from accessing the website, which means that the server will decline the visitor’s request, or you can redirect your domain name to some other URL, so the server will direct the visitor to the new web address. Also you can use custom-made error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, including Drupal™, Joomla™ and WordPress, use an .htaccess file to function efficiently.