With an .htaccess file, you shall determine how the server which deals with the requests to your web sites should act in various occasions. This is a text file with directives that are performed when an individual tries to open your website and what happens next will depend on the content of the file. For instance, you can block a certain IP address from accessing the Internet site, so the server will decline the visitor’s request, or you can redirect your domain name to some other URL, so the server will redirect the visitor to the new web address. You could also use customized error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven applications, including WordPress, Drupal™ and Joomla™, use an .htaccess file to function correctly.