With an .htaccess file, you will define how the server which handles the requests to your web sites must act in different scenarios. This is a text file with directives that are performed when an individual tries to open your website and what happens next is determined by the content of the file. For example, you could block a specific IP address from accessing your website, therefore the server will decline your 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 tailor-made error pages or preserve any part of your website with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, such as Joomla™, WordPress and Drupal™, use an .htaccess file to operate efficiently.