With an .htaccess file, you shall define how the web server that handles the requests to your Internet sites must act a number of occasions. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next is determined by the content of the file. As an illustration, you may block a particular IP address from opening your website, which means that the server will decline the visitor’s request, or you can forward your domain name to a different URL, so the server may redirect the visitor to the new web address. You could also use customized error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven applications, including Joomla, Drupal and WordPress, use an .htaccess file to function properly.

.htaccess Generator in Shared Web Hosting

If you acquire any of our shared web hosting packages, you can take advantage of our user-friendly .htaccess generator tool, that is part of the Hepsia CP. You won't need to know what syntax the different directives in this type of a file should have, since our tool is very simple to use and you will only need to check boxes or type URLs, so you can certainly use an .htaccess file even when you have never had an Internet hosting account before. Our .htaccess generator gives a large amount of options - you'll be able to block IP addresses, set the first page that loads when a person opens your site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You shall even be able to set a different PHP version for each of your Internet sites.