With an .htaccess file, you will determine how the web server that deals with the requests to your Internet sites should act a number of situations. This is a text file with directives that are carried out when somebody tries to open your website and what happens next will depend on the content of the file. As an example, you could block a specific IP address from opening the website, so the server will decline your visitor’s request, or you can redirect your domain name to some other URL, so the server may direct the visitor to the new web address. You may also use customized error pages or preserve any part of your website 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 properly.