With an .htaccess file, you will determine how the server that deals with the requests to your web sites should act a number of cases. This is a text file with directives that are performed when an individual tries to open your site and what happens next will depend on the content of the file. For example, you could block a specific IP address from opening your website, which means that the server will decline your visitor’s request, or you can redirect your domain to some other URL, so the server will redirect the visitor to the new web address. You may also use custom error pages or shield any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, including WordPress, Drupal™ and Joomla™, use an .htaccess file to function efficiently.