With an .htaccess file, you can specify how the server which manages the requests to your websites must act in a variety of cases. This is a text file with directives that are executed when an individual tries to open your website and what happens next will depend on the content of the file. For example, you can block a certain IP address from opening the Internet site, and the server will decline your 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 may also use customized error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, like Joomla™, Drupal™ and WordPress, use an .htaccess file to operate correctly.