With an .htaccess file, you will define how the server which deals with the requests to your websites have to act a number of occasions. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next depends on the content of the file. For example, you may block a specific IP address from opening your website, and the server will decline your visitor’s request, or you can forward your domain name to an alternative URL, so the server may direct the visitor to the new web address. You may also use custom error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, like Joomla™, Drupal™ and WordPress, use an .htaccess file to work properly.