With an .htaccess file, you will specify how the server that manages the requests to your Internet sites have to act in a variety of cases. This is a text file with directives that are carried out when somebody tries to open your Internet site and what happens next depends on the content of the file. For example, you could block a specific 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 direct the visitor to the new web address. You may also use tailor-made error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, such as WordPress, Joomla and Drupal, use an .htaccess file to work efficiently.

.htaccess Generator in Hosting

If you wish to use any of the features which an .htaccess file provides, but you've never dealt with this type of matters before, you need to use the .htaccess generator tool that comes with all our hosting solutions. The tool is part of our in-house built Hepsia Control Panel and it will offer you an easy and user-friendly means to set up an .htaccess file within any folder you have created inside the account. A lot of options shall be available with checkboxes, so you should only select the one which you need and eventually type a URL - if you are using the file to redirect a domain or to set custom made error pages for each of your sites. Considering that our cloud platform supports many different PHP versions, you will also be able to set any of these versions for any of your Internet sites even if it is different from the version set for your Internet hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

The Linux semi-dedicated servers which we provide come with an efficient, but easy-to-work-with .htaccess generator tool, which will give you the opportunity to use this type of a file for any purpose even if you're not experienced. The tool is integrated into the Hepsia CP and has the same intuitive interface. If you'd like to use any of the options which can be activated via an .htaccess file, you simply need to check the box next to it in the list that you will find when you open the tool. You can also pick in which directory of your account the file shall be created and you shall be all set. An .htaccess file could also be used to set a PHP version for a certain Internet site which differs from the version which the account itself employs. In case you have any difficulties, we have detailed help articles and video tutorials that will explain to you first-hand how to activate any option which is available within the tool.