With an .htaccess file, you shall determine how the web server that handles the requests to your websites should act in different cases. 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 particular IP address from accessing your website, so the server will decline the visitor’s request, or you can redirect your domain name to some other URL, so the server will redirect the visitor to the new web address. Also you can use personalized 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 Joomla™, Drupal™ and WordPress, use an .htaccess file to work efficiently.