With an .htaccess file, you shall define how the web server which addresses the requests to your websites should act in a variety of situations. This is a text file with directives that are carried out when somebody tries to open your Internet site and what happens next is determined by the content of the file. For example, you can block a specific IP address from accessing the website, which means that 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. Also you can use tailor-made error pages or preserve any part of your site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, such as WordPress, Drupal™ and Joomla™, use an .htaccess file to work correctly.