With an .htaccess file, you'll define how the web server which handles the requests to your Internet sites should act in a variety of situations. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next is determined by the content of the file. As an illustration, you could block a certain IP address from accessing the website, therefore the server will decline your visitor’s request, or you can redirect your domain name to a different URL, so the server will direct the visitor to the new web address. You could also use personalized error pages or secure 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 Drupal™, Joomla™ and WordPress, use an .htaccess file to function correctly.