With an .htaccess file, you'll specify how the web server which manages the requests to your Internet sites must act in various situations. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next will depend on the content of the file. For example, you may block a certain IP address from opening the site, and the server will decline your visitor’s request, or you can forward your domain name to a different URL, so the server will direct the visitor to the new web address. Also you can use personalized error pages or shield any part of your site with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, like WordPress, Drupal™ and Joomla™, use an .htaccess file to function properly.