With an .htaccess file, you shall specify how the server which addresses the requests to your web sites have to act a number of cases. This is a text file with directives that are performed when somebody tries to open your site and what happens next will depend on the content of the file. For instance, you may block a certain IP address from accessing the Internet site, and the server will decline your 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 custom-made error pages or preserve any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, including Joomla™, Drupal™ and WordPress, use an .htaccess file to operate efficiently.