With an .htaccess file, you will determine how the web server that deals with the requests to your web sites must act in different cases. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next depends on the content of the file. As an example, you may block a particular IP address from accessing the website, which means that the server will decline the visitor’s request, or you can forward your domain name to a different 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 widely used script-driven apps, such as WordPress, Drupal™ and Joomla™, use an .htaccess file to work correctly.