With an .htaccess file, you will define how the web server which manages the requests to your Internet sites should act in different occasions. This is a text file with directives that are executed when someone tries to open your Internet site and what happens next will depend on the content of the file. As an example, you can block a specific IP address from accessing your website, which means that the server will decline the visitor’s request, or you can forward your domain name to another URL, so the server will redirect the visitor to the new web address. You can also use customized error pages or preserve any part of your site 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 function correctly.