With an .htaccess file, you will define how the server that deals with the requests to your web sites have to act a number of situations. This is a text file with directives that are executed when an individual tries to open your site and what happens next will depend on the content of the file. As an example, you may block a certain IP address from opening your website, which means that the server will decline the visitor’s request, or you can forward your domain to some other URL, so the server will redirect the visitor to the new web address. You may also use personalized error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, like WordPress, Joomla™ and Drupal™, use an .htaccess file to operate correctly.