With an .htaccess file, you shall define how the server that addresses the requests to your websites have to act in various situations. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next depends on the content of the file. For instance, you may block a specific IP address from opening the website, and the server will decline the 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. Also you can use tailor-made error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, like WordPress, Drupal and Joomla, use an .htaccess file to work correctly.

.htaccess Generator in Hosting

When you get any of our hosting packages, you can take advantage of our user-friendly .htaccess generator tool, which is part of the Hepsia CP. You will not need to know what syntax the many directives in such a file must have, because our tool is very easy to use and you'll only have to check boxes or enter URLs, so you can easily use an .htaccess file even if you have never had a web hosting account before. Our .htaccess generator gives a number of options - you are able to block IP addresses, set the first page that loads when someone opens your Internet site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You will even be able to set a different PHP version for each one of your sites.

.htaccess Generator in Semi-dedicated Servers

All our Linux semi-dedicated servers come with the sophisticated, albeit easy-to-use Hepsia CP, that includes our .htaccess generator tool. It shall permit you to create a system file in any folder of your choice with only a few mouse clicks. Even if you are not tech-savvy, you can benefit from all the features which an .htaccess file features because our tool is very intuitive to use. You'll find a list of all the options that you can enable and there will be a checkbox next to each and every one of them. Just choose the options that you want to activate and eventually enter a URL - if you are using the .htaccess file to forward one URL to another or to set personalized error pages. You will not have to type any code at any time. If necessary, you may use an .htaccess file to use different versions of PHP for your Internet sites, due to the fact that a number of versions are available simultaneously on our web hosting platform.