With an .htaccess file, you will specify how the web server that addresses the requests to your websites must 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 depends on the content of the file. For instance, you can block a particular IP address from accessing the site, and the server will decline your visitor’s request, or you can forward your domain name to some other URL, so the server will redirect the visitor to the new web address. You can also use personalized 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 applications, like Joomla™, WordPress and Drupal™, use an .htaccess file to work properly.