With an .htaccess file, you can specify how the server that manages the requests to your websites must act in different occasions. This is a text file with directives that are executed when an individual tries to open your site and what happens next will depend on the content of the file. As an example, you can block a particular IP address from opening your website, and the server will decline your visitor’s request, or you can redirect your domain name to another URL, so the server will direct the visitor to the new web address. You may also use custom error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, like Joomla™, Drupal™ and WordPress, use an .htaccess file to work correctly.