With an .htaccess file, you shall determine how the server that addresses the requests to your Internet sites have to act a number of occasions. This is a text file with directives that are performed when an individual tries to open your Internet site and what happens next depends on the content of the file. For example, you can block a certain IP address from accessing the website, which means that the server will decline your visitor’s request, or you can redirect your domain name to some other URL, so the server will direct the visitor to the new web address. Also you can use custom-made error pages or protect any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, such as Joomla™, Drupal™ and WordPress, use an .htaccess file to operate correctly.