With an .htaccess file, you shall specify how the web server that addresses the requests to your websites should act a number of scenarios. This is a text file with directives that are performed when an individual tries to open your Internet site and what happens next will depend on the content of the file. For instance, you could block a particular IP address from accessing the site, so the server will decline the visitor’s request, or you can redirect your domain name to an alternative URL, so the server will direct the visitor to the new web address. You can also use personalized error pages or secure any part of your site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, including Drupal™, Joomla™ and WordPress, use an .htaccess file to operate properly.