With an .htaccess file, you will define how the server that deals with the requests to your Internet sites have to act in a variety of situations. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next is determined by the content of the file. For instance, you may block a particular IP address from opening the website, therefore the server will decline your visitor’s request, or you can forward your domain name to some other URL, so the server will direct the visitor to the new web address. You could also use customized error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, such as WordPress, Drupal™ and Joomla™, use an .htaccess file to operate correctly.