With an .htaccess file, you will define how the web server which addresses the requests to your Internet sites have to act in different scenarios. This is a text file with directives that are performed when somebody tries to open your site and what happens next depends on the content of the file. As an example, you could block a specific IP address from accessing your website, therefore the server will decline your visitor’s request, or you can forward your domain to a different URL, so the server will direct the visitor to the new web address. You may also use tailor-made error pages or secure any part of your site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, including Joomla™, WordPress and Drupal™, use an .htaccess file to operate properly.