With an .htaccess file, you shall determine how the server which deals with the requests to your web sites should act in a variety of cases. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next is determined by the content of the file. For example, you may block a certain IP address from accessing the website, therefore the server will decline your visitor’s request, or you can redirect your domain to a different URL, so the server may redirect the visitor to the new web address. You could also use tailor-made error pages or preserve any part of your site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, such as Joomla™, Drupal™ and WordPress, use an .htaccess file to work efficiently.