With an .htaccess file, you shall specify how the web server that addresses the requests to your websites have to act in a variety of situations. 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. As an illustration, you can block a specific IP address from accessing the Internet site, so the server will decline the visitor’s request, or you can redirect your domain name to another URL, so the server will redirect the visitor to the new web address. You can also use customized error pages or preserve any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, like WordPress, Drupal™ and Joomla™, use an .htaccess file to operate correctly.