With an .htaccess file, you will specify how the web server that handles the requests to your Internet sites must act in various situations. This is a text file with directives that are executed when an individual tries to open your site and what happens next is determined by the content of the file. As an illustration, you can block a certain IP address from accessing the site, therefore the server will decline the visitor’s request, or you can redirect your domain to a different URL, so the server will redirect the visitor to the new web address. Also you can use customized error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, such as Drupal, Joomla and WordPress, use an .htaccess file to work correctly.

.htaccess Generator in Web Hosting

If you wish to use any of the functions that an .htaccess file provides, but you've never dealt with this type of matters before, you can use the .htaccess generator tool provided with all our web hosting plans. The tool is part of our in-house built Hepsia Control Panel and it shall offer you an easy and user-friendly means to create an .htaccess file inside any folder you have created within the account. Quite a few options shall 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 forward a domain or to set personalized error pages for any of your websites. Since 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 when it's different from the version set for your hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

The semi-dedicated servers which we offer you come with an efficient, but user-friendly .htaccess generator tool, which will give you the option to use this type of a file for any purpose even when you are not very experienced. The tool is built into the Hepsia CP and has the same intuitive interface. If you'd like to use some of the options which may be enabled via an .htaccess file, you simply need to check the box next to it within the list which you shall find when you open the tool. Also you can select in which directory of your account the file shall be created and you'll be good to go. An .htaccess file could also be used to set a PHP version for a given Internet site that differs from the version which the account itself uses. If you have any troubles, we have thorough help articles and instructional videos that shall demonstrate first-hand how to enable any option available inside the tool.