With an .htaccess file, you will define how the web server which deals with the requests to your web sites must act in a variety of situations. This is a text file with directives that are carried out when somebody tries to open your Internet site and what happens next is determined by the content of the file. As an illustration, you can block a specific IP address from opening the site, so 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 can also use custom-made error pages or protect any part of your website with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, like Joomla, Drupal and WordPress, use an .htaccess file to function efficiently.

.htaccess Generator in Shared Website Hosting

If you wish to use any of the functionalities which an .htaccess file provides, but you have not dealt with this type of matters before, you should use the .htaccess generator tool provided with all of our shared website hosting plans. The tool is part of our in-house built Hepsia CP and it will give you an uncomplicated and user-friendly means to set up an .htaccess file inside any folder that you have created within the account. Quite a few options shall be available with checkboxes, so you should only pick the one which you need and eventually enter a URL - if you are using the file to forward 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 web hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

The semi-dedicated servers that we provide come with an efficient, but user-friendly .htaccess generator tool, that will provide you with the chance to use this type of a file for any purpose even if you're not very experienced. The tool is incorporated into the Hepsia Control Panel and has the same intuitive interface. If you want to use some of the options that can be activated with an .htaccess file, you simply need to check the box next to it within the list that you will find when you open the tool. You can even decide in which directory of your account the file shall be created and you will be set. An .htaccess file can be used to set a PHP version for a given website that differs from the version that the account itself uses. If you have any difficulties, we have comprehensive help articles and instructional videos which will explain to you first-hand how to enable any option that is available inside the tool.