With an .htaccess file, you will define how the server that addresses the requests to your Internet sites must act in different occasions. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next depends on the content of the file. For instance, you can block a certain IP address from opening the site, so the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server will redirect the visitor to the new web address. Also you can use personalized error pages or preserve any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven applications, including WordPress, Joomla™ and Drupal™, use an .htaccess file to work correctly.