With an .htaccess file, you will determine how the server that manages the requests to your web sites must act in various cases. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next is determined by the content of the file. As an example, you may block a specific IP address from opening the website, so the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server may direct the visitor to the new web address. You can also use custom-made error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, like Joomla™, WordPress and Drupal™, use an .htaccess file to work correctly.