With an .htaccess file, you can define how the server that handles the requests to your Internet sites should act a number of situations. This is a text file with directives that are executed when an individual tries to open your site and what happens next depends on the content of the file. As an illustration, you could block a certain IP address from opening the website, and the server will decline the visitor’s request, or you can redirect your domain name to another URL, so the server may redirect the visitor to the new web address. You could also use tailor-made error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, including Joomla™, Drupal™ and WordPress, use an .htaccess file to work properly.