With an .htaccess file, you shall specify how the server that handles the requests to your websites must act in a variety of cases. This is a text file with directives that are carried out when somebody tries to open your website and what happens next will depend on the content of the file. As an example, you may block a particular IP address from accessing the Internet site, and the server will decline your visitor’s request, or you can redirect your domain name to another URL, so the server may direct the visitor to the new web address. You can also use tailor-made error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven applications, like Joomla™, WordPress and Drupal™, use an .htaccess file to operate correctly.