With an .htaccess file, you will define how the web server that manages the requests to your Internet sites must act in a variety of cases. This is a text file with directives that are performed when someone tries to open your website and what happens next depends on the content of the file. For instance, you could block a certain IP address from accessing the website, which means that the server will decline the 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 tailor-made error pages or shield any part of your website with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, like Joomla™, Drupal™ and WordPress, use an .htaccess file to operate correctly.