With an .htaccess file, you will determine how the web server which deals with the requests to your web sites should act in different situations. This is a text file with directives that are executed when an individual tries to open your Internet site and what happens next depends on the content of the file. As an example, you may block a certain IP address from opening your website, so the server will decline your visitor’s request, or you can redirect your domain name to an alternative 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 in the correct folder. Many widespread script-driven apps, like Joomla™, WordPress and Drupal™, use an .htaccess file to work efficiently.