With an .htaccess file, you can determine how the web server which addresses the requests to your web sites have to act a number of scenarios. This is a text file with directives that are carried out when an individual tries to open your site and what happens next is determined by the content of the file. As an example, you could block a specific IP address from accessing your website, and 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 may also use custom error pages or secure any part of your website with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, such as Joomla™, Drupal™ and WordPress, use an .htaccess file to work properly.