With an .htaccess file, you shall define how the web server which handles the requests to your web sites should act in different cases. This is a text file with directives that are performed when someone tries to open your site and what happens next depends on the content of the file. As an illustration, you could block a specific IP address from opening your website, so the server will decline your visitor’s request, or you can redirect your domain name to a different URL, so the server may direct the visitor to the new web address. Also you can use personalized error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, such as Drupal, Joomla and WordPress, use an .htaccess file to operate efficiently.

.htaccess Generator in Shared Web Hosting

If you acquire any of our shared web hosting plans, you can benefit from our easy-to-use .htaccess generator tool, that is part of the Hepsia CP. You will not need to know what syntax the different directives in such a file must have, as our tool is very easy to use and you will only have to check boxes or input URLs, so you can use an .htaccess file even if you have never had a web 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 someone opens your Internet site, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You shall even be able to set a different PHP version for each of your websites.