With an .htaccess file, you will specify how the web server which handles the requests to your Internet sites have to act in a variety of cases. This is a text file with directives that are executed when somebody tries to open your website and what happens next will depend on the content of the file. For instance, you may block a certain IP address from accessing the website, therefore the server will decline your visitor’s request, or you can forward your domain name to a different URL, so the server will redirect the visitor to the new web address. You can also use custom-made error pages or shield any part of your website with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, including Drupal™, Joomla™ and WordPress, use an .htaccess file to function properly.