With an .htaccess file, you can define how the server that addresses the requests to your websites should act in different situations. This is a text file with directives that are executed when someone tries to open your website and what happens next is determined by the content of the file. For example, you could block a particular IP address from opening the Internet site, therefore the server will decline your visitor’s request, or you can forward your domain name to some other URL, so the server will redirect the visitor to the new web address. You can also use customized error pages or secure any part of your site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven apps, like WordPress, Drupal™ and Joomla™, use an .htaccess file to operate efficiently.