With an .htaccess file, you will define how the web server that manages the requests to your Internet sites must act a number of scenarios. This is a text file with directives that are carried out when an individual tries to open your website 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, therefore the server will decline your visitor’s request, or you can redirect your domain to some other URL, so the server will redirect the visitor to the new web address. You can 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, like Drupal™, Joomla™ and WordPress, use an .htaccess file to operate correctly.