With an .htaccess file, you shall define how the server which deals with the requests to your Internet sites have to act a number of cases. This is a text file with directives that are carried out when someone tries to open your site and what happens next will depend on the content of the file. As an example, you could block a particular IP address from accessing the Internet site, which means that the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server will direct the visitor to the new web address. Also you can use personalized error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, like Joomla™, Drupal™ and WordPress, use an .htaccess file to work properly.