With an .htaccess file, you will determine how the web server which handles the requests to your websites have to act in various cases. This is a text file with directives that are carried out when an individual tries to open your site and what happens next depends on the content of the file. As an illustration, you could block a particular IP address from accessing the site, therefore the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server will redirect the visitor to the new web address. You could also use custom error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, like WordPress, Joomla and Drupal, use an .htaccess file to operate correctly.

.htaccess Generator in Web Hosting

We have an easy-to-use .htaccess generator tool that will allow you to create and use this sort of files with no difficulties even if you do not have previous experience and you do not know the syntax of the respective directives for this sort of a file. The tool is part of the Hepsia CP, provided with our Linux web hosting and any option in it could be activated by selecting acheckbox and eventually by inputting a username or a URL, based on what exactly you need to do with the .htaccess file. You may also select where the file should be created, so you shall not need to do anything by hand before or after that. Using an .htaccess file, you'll be able to pick the PHP version that'll be enabled for a given domain, no matter if it isn't the same version as the one for the whole account.

.htaccess Generator in Semi-dedicated Hosting

All our Linux semi-dedicated hosting feature the sophisticated, albeit easy-to-use Hepsia CP, that incorporates our .htaccess generator tool. It'll enable you to create a system file in any folder that you pick with just a few clicks. Even if you're not tech-savvy, you'll be able to take advantage of all the features an .htaccess file features as our tool is quite intuitive to use. You will find a list of all the options that you can activate and there shall be a checkbox next to each and every one of them. Just select the options that you want to activate and eventually type in a URL - if you are using the .htaccess file to redirect one URL to another or to set personalized error pages. You'll not have to type any code at any time. If required, you can use an .htaccess file to use different versions of PHP for your websites, because many versions are available simultaneously on our web hosting platform.