With an .htaccess file, you can specify how the web server which addresses the requests to your websites have to act in various situations. This is a text file with directives that are performed when an individual tries to open your Internet site and what happens next will depend on the content of the file. As an example, you could block a certain IP address from opening the Internet site, so the server will decline your visitor’s request, or you can forward your domain to another URL, so the server may redirect the visitor to the new web address. You could also use tailor-made error pages or secure any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, including WordPress, Drupal™ and Joomla™, use an .htaccess file to operate properly.