With an .htaccess file, you shall specify how the server that manages the requests to your Internet sites must act a number of situations. This is a text file with directives that are carried out when someone tries to open your website and what happens next is determined by the content of the file. For example, you could block a certain IP address from opening the site, which means that the server will decline your visitor’s request, or you can forward your domain name to an alternative URL, so the server will redirect the visitor to the new web address. You may also use tailor-made error pages or protect any part of your website with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, including WordPress, Drupal™ and Joomla™, use an .htaccess file to function correctly.