With an .htaccess file, you'll define how the server that deals with the requests to your Internet sites should act in various cases. This is a text file with directives that are carried out when somebody tries to open your site and what happens next is determined by the content of the file. As an example, you may block a particular IP address from opening the Internet site, and the server will decline the visitor’s request, or you can redirect your domain to a different URL, so the server may direct the visitor to the new web address. You may also use personalized error pages or secure any part of your Internet 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 operate properly.