With an .htaccess file, you shall specify how the web server which addresses the requests to your websites must act a number of situations. This is a text file with directives that are executed when an individual tries to open your Internet site and what happens next is determined by the content of the file. For example, you may block a particular IP address from accessing your website, so the server will decline the visitor’s request, or you can forward your domain to some other URL, so the server may direct the visitor to the new web address. You can also use tailor-made error pages or preserve any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven applications, such as WordPress, Joomla™ and Drupal™, use an .htaccess file to work efficiently.