With an .htaccess file, you shall specify how the web server which handles the requests to your Internet sites must act in different occasions. This is a text file with directives that are carried out when somebody tries to open your website and what happens next will depend on the content of the file. For example, you can block a certain IP address from accessing the Internet site, therefore the server will decline the visitor’s request, or you can forward your domain to some other URL, so the server will direct the visitor to the new web address. You could also use custom error pages or secure any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, including WordPress, Drupal™ and Joomla™, use an .htaccess file to work efficiently.