With an .htaccess file, you will specify how the web server that manages the requests to your Internet sites should act in various situations. This is a text file with directives that are executed when an individual tries to open your website and what happens next depends on the content of the file. For instance, you may block a particular IP address from accessing your website, therefore the server will decline your visitor’s request, or you can forward your domain name to another URL, so the server may redirect the visitor to the new web address. You could also use personalized error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, such as WordPress, Drupal™ and Joomla™, use an .htaccess file to work correctly.