With an .htaccess file, you will specify how the web server that handles the requests to your Internet sites should act a number of cases. This is a text file with directives that are carried out when somebody tries to open your Internet site and what happens next is determined by the content of the file. For instance, you may block a particular IP address from opening your website, and the server will decline the visitor’s request, or you can redirect your domain name to a different URL, so the server may direct the visitor to the new web address. You can also use personalized error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, such as WordPress, Joomla™ and Drupal™, use an .htaccess file to function properly.