With an .htaccess file, you will specify how the web server which handles the requests to your web sites must act in various scenarios. This is a text file with directives that are carried out when somebody tries to open your Internet site and what happens next will depend on the content of the file. For example, you could block a particular IP address from opening the Internet site, which means that the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server may direct the visitor to the new web address. You could also use tailor-made error pages or shield any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, such as WordPress, Drupal™ and Joomla™, use an .htaccess file to operate correctly.