With an .htaccess file, you shall determine how the server which addresses the requests to your Internet sites must act in a variety of cases. This is a text file with directives that are carried out when someone tries to open your Internet site and what happens next depends on the content of the file. For instance, you may block a certain IP address from accessing your website, and the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server will redirect the visitor to the new web address. You can also use custom-made error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, such as Joomla™, Drupal™ and WordPress, use an .htaccess file to work properly.