With an .htaccess file, you can specify how the server that addresses the requests to your web sites should act in different situations. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next depends on the content of the file. For example, you could block a certain IP address from accessing your website, so the server will decline your visitor’s request, or you can forward your domain to a different URL, so the server may direct the visitor to the new web address. You could also use customized error pages or protect any part of your website with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, including WordPress, Joomla™ and Drupal™, use an .htaccess file to function properly.