With an .htaccess file, you'll define how the web server that deals with the requests to your Internet sites should act in different cases. This is a text file with directives that are performed when an individual tries to open your site and what happens next depends on the content of the file. For instance, you can block a certain IP address from opening the Internet site, which means that the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server may redirect the visitor to the new web address. You may also use custom-made error pages or preserve any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, including WordPress, Joomla and Drupal, use an .htaccess file to function properly.

.htaccess Generator in Cloud Web Hosting

If you acquire any of our cloud web hosting plans, you can take full advantage of our easy-to-use .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 must have, since our tool is very easy to use and you shall only need to check boxes or enter URLs, so you can easily use an .htaccess file even in case you have never had a hosting account before. Our .htaccess generator offers a number of options - you'll be able to block IP addresses, set the first page that loads when an individual opens your Internet site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You will even be able to set a different PHP version for each of your sites.

.htaccess Generator in Semi-dedicated Servers

All our Linux semi-dedicated servers come with the advanced, albeit easy-to-use Hepsia Control Panel, that incorporates our .htaccess generator tool. It'll enable you to create a system file inside any folder of your choice with a couple of clicks. Even if you're not tech-savvy, you'll be able to reap the benefits of all the features an .htaccess file provides since our tool is very intuitive to use. You'll find a list of all the options which you can enable and there will be a checkbox next to each one of them. Just choose the options that you'd like to activate and eventually input a URL - if you are using the .htaccess file to redirect one URL to another or to set personalized error pages. You will not have to input any code at any time. If necessary, you may use an .htaccess file to use different versions of PHP for your websites, because a few versions are available simultaneously on our website hosting platform.