With an .htaccess file, you will define how the server that handles the requests to your websites must act in various cases. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next is determined by the content of the file. For example, you may block a certain IP address from opening the site, so the server will decline the visitor’s request, or you can forward your domain name to an alternative URL, so the server will direct the visitor to the new web address. You can also use customized error pages or shield any part of your site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, including Joomla™, WordPress and Drupal™, use an .htaccess file to work properly.