With an .htaccess file, you shall define how the server that handles the requests to your websites have to act in different scenarios. This is a text file with directives that are executed when someone tries to open your site and what happens next will depend on the content of the file. For instance, you could block a certain IP address from opening the Internet site, which means that the server will decline your visitor’s request, or you can forward your domain to a different URL, so the server may direct the visitor to the new web address. Also you can use customized error pages or secure any part of your website with a password, if you place an .htaccess file in the correct folder. Many popular script-driven applications, such as Drupal™, Joomla™ and WordPress, use an .htaccess file to operate efficiently.