With an .htaccess file, you will define how the web server which addresses the requests to your Internet sites have to act in different cases. This is a text file with directives that are executed when someone tries to open your Internet site and what happens next depends on the content of the file. For instance, you can block a specific IP address from opening the Internet site, and the server will decline the visitor’s request, or you can redirect your domain name to an alternative URL, so the server will direct the visitor to the new web address. Also you can use customized 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, such as Joomla, WordPress and Drupal, use an .htaccess file to function efficiently.

.htaccess Generator in Cloud Website Hosting

When you obtain any of our cloud website hosting solutions, you can take advantage of our user-friendly .htaccess generator tool, that is part of the Hepsia Control Panel. You won't need to know what syntax the various directives in such a file must have, as our tool is very simple to use and you will only have to check boxes or input URLs, so you can certainly use an .htaccess file even in case you have never had a hosting account before. Our .htaccess generator provides a wide range of options - you can block IP addresses, set the first page that loads when someone opens your site, set up 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 Hosting

All our Linux semi-dedicated hosting packages come with the revolutionary, albeit easy-to-use Hepsia CP, that features our .htaccess generator tool. It'll allow you to create a system file inside any folder that you choose with a couple of clicks. Even if you're not tech-savvy, you could benefit from all the functions which an .htaccess file features since our tool is very intuitive to use. There is also a list of all the options which 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 enable and eventually type a URL - if you are using the .htaccess file to redirect one URL to another or to set custom error pages. You shall not have to input any code at any time. If necessary, you may use an .htaccess file to employ different versions of PHP for your sites, because a few versions are available simultaneously on our hosting platform.