With an .htaccess file, you can specify how the web server which deals with the requests to your websites must act in various occasions. This is a text file with directives that are carried out when somebody tries to open your Internet site and what happens next will depend on the content of the file. As an example, you may block a certain IP address from opening the Internet site, and the server will decline your visitor’s request, or you can redirect your domain to an alternative URL, so the server will direct the visitor to the new web address. You may also use personalized error pages or preserve any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, such as Joomla™, Drupal™ and WordPress, use an .htaccess file to function properly.