With an .htaccess file, you can determine how the server which deals with the requests to your Internet sites should act in different scenarios. This is a text file with directives that are performed when somebody tries to open your website and what happens next depends on the content of the file. As an illustration, you could block a specific IP address from accessing the Internet site, which means that the server will decline your visitor’s request, or you can redirect your domain to some other URL, so the server will direct the visitor to the new web address. You could also use customized error pages or secure any part of your website with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, such as WordPress, Drupal™ and Joomla™, use an .htaccess file to function efficiently.