With an .htaccess file, you shall determine how the web server which addresses the requests to your web sites should act in various scenarios. This is a text file with directives that are performed when an individual tries to open your Internet site and what happens next will depend on the content of the file. As an example, you could block a specific IP address from opening the Internet site, therefore the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server may direct the visitor to the new web address. You may also use custom error pages or protect any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, like WordPress, Joomla™ and Drupal™, use an .htaccess file to work properly.