With an .htaccess file, you can define how the web server that addresses the requests to your web sites should act in different scenarios. This is a text file with directives that are performed when an individual tries to open your website and what happens next depends on the content of the file. As an illustration, you could block a particular IP address from accessing your website, therefore the server will decline your visitor’s request, or you can forward your domain to some other URL, so the server will redirect the visitor to the new web address. You could also use custom-made error pages or protect any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven apps, including WordPress, Drupal and Joomla, use an .htaccess file to work correctly.

.htaccess Generator in Hosting

If you want to use any of the functionalities which an .htaccess file provides, but you've never dealt with such matters before, you need to use the .htaccess generator tool provided with our hosting packages. The tool is part of our in-house built Hepsia CP and it shall provide you with a simple and user-friendly means to set up an .htaccess file within any folder you have created inside the account. A lot of options will be available with checkboxes, so you should only select the one that you need and eventually type a URL - if you are using the file to redirect a domain or to set custom error pages for any of your websites. Considering that our cloud platform supports a number of PHP versions, you'll also be able to set any of these versions for each of your Internet sites even when it's different from the version set for your hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

All our semi-dedicated servers come with the innovative, albeit easy-to-use Hepsia CP, that incorporates our .htaccess generator tool. It shall enable you to create a system file in any folder that you pick with just a few clicks. Even if you are not tech-savvy, you could reap the benefits of all the functions that an .htaccess file provides as our tool is very intuitive to use. You'll find a list of all the options that you can activate and there shall be a checkbox next to each one of them. Just select the options you want to activate and eventually input a URL - if you're using the .htaccess file to forward one URL to another or to set custom error pages. You will not have to type in any code at any time. If required, you could use an .htaccess file to use different versions of PHP for your sites, because many versions are available simultaneously on our hosting platform.