With an .htaccess file, you shall determine how the server that manages the requests to your web sites have to act in a variety of situations. This is a text file with directives that are carried out when an individual tries to open your site and what happens next depends on the content of the file. As an example, you can block a particular IP address from accessing the Internet site, and the server will decline the visitor’s request, or you can forward your domain name to some other URL, so the server may direct the visitor to the new web address. You may also use customized error pages or shield any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven applications, such as WordPress, Joomla™ and Drupal™, use an .htaccess file to operate efficiently.