With an .htaccess file, you shall define how the server which deals with the requests to your Internet sites must act a number of scenarios. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next will depend on the content of the file. As an illustration, you can block a certain IP address from accessing the site, so the server will decline your visitor’s request, or you can redirect your domain name to another URL, so the server will direct the visitor to the new web address. Also you can use customized error pages or shield any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, such as WordPress, Drupal™ and Joomla™, use an .htaccess file to function correctly.