With an .htaccess file, you will determine how the server that handles the requests to your web sites should act in different situations. This is a text file with directives that are performed when someone tries to open your site and what happens next is determined by the content of the file. As an illustration, you can block a certain IP address from accessing the site, and the server will decline the visitor’s request, or you can redirect your domain name to a different URL, so the server will redirect the visitor to the new web address. Also you can use customized error pages or protect 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, such as WordPress, Drupal™ and Joomla™, use an .htaccess file to operate correctly.