With an .htaccess file, you can specify how the server which deals with the requests to your web sites should act a number of cases. This is a text file with directives that are carried out when someone tries to open your website and what happens next will depend on the content of the file. For instance, you can block a particular IP address from opening the Internet site, which means that the server will decline your visitor’s request, or you can redirect your domain name to some other URL, so the server will direct the visitor to the new web address. You could also use tailor-made error pages or protect any part of your website with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, like Joomla, Drupal and WordPress, use an .htaccess file to operate properly.

.htaccess Generator in Shared Hosting

When you purchase any of our shared hosting packages, you can benefit from our user-friendly .htaccess generator tool, that is part of the Hepsia CP. You shall not need to know what syntax the different directives in such a file need to have, as our tool is super easy to use and you'll only have to check boxes or type URLs, so you can easily use an .htaccess file even in case you have never had a web hosting account before. Our .htaccess generator offers a lot of options - you can block IP addresses, set the first page that loads when an individual opens your website, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You will even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Servers

The Linux semi-dedicated plans which we offer you feature a powerful, but easy-to-work-with .htaccess generator tool, that will give you the option to use this sort of a file for any purpose even when you are not too experienced. The tool is built into the Hepsia Control Panel and has the same intuitive interface. If you would like to use some of the options which can be enabled using an .htaccess file, you simply need to check the box next to it in the list which you will find when you open the tool. You may also pick in which directory of your account the file shall be created and you will be all set. An .htaccess file can be used to set a PHP version for a given site that is different from the version that the account itself employs. In case you have any difficulties, we have comprehensive help articles and instructional videos which will demonstrate first-hand how to enable any option that's available in the tool.