With an .htaccess file, you'll define how the web server that manages the requests to your Internet sites should act a number of cases. This is a text file with directives that are performed when somebody tries to open your site and what happens next depends on the content of the file. As an example, you may block a particular IP address from opening your website, which means that the server will decline your visitor’s request, or you can redirect your domain to some other URL, so the server may redirect the visitor to the new web address. Also you can use customized error pages or preserve 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, Drupal™ and Joomla™, use an .htaccess file to function properly.