With an .htaccess file, you will specify how the server that handles the requests to your Internet sites must act a number of cases. This is a text file with directives that are executed when somebody tries to open your website and what happens next depends on the content of the file. For example, you could block a particular IP address from opening the Internet site, and the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server may redirect the visitor to the new web address. You may also use custom-made error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, like WordPress, Joomla™ and Drupal™, use an .htaccess file to work properly.