With an .htaccess file, you will define how the server which addresses the requests to your Internet sites have to act in different 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 instance, you could block a specific IP address from opening your website, and the server will decline the visitor’s request, or you can redirect your domain to some other URL, so the server may redirect the visitor to the new web address. You can also use customized error pages or secure 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 function properly.