With an .htaccess file, you'll determine how the server that deals with the requests to your web sites must act in different situations. This is a text file with directives that are executed when somebody tries to open your website and what happens next will depend on the content of the file. For example, you could block a particular IP address from opening your website, therefore the server will decline your visitor’s request, or you can redirect your domain name to a different URL, so the server will direct the visitor to the new web address. You can also use customized error pages or preserve any part of your website with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, such as WordPress, Joomla and Drupal, use an .htaccess file to function efficiently.

.htaccess Generator in Shared Hosting

If you purchase any of our shared hosting solutions, you can reap the benefits of our easy-to-use .htaccess generator tool, that is part of the Hepsia Control Panel. You will not need to know what syntax the different directives in this type of a file need to have, as our tool is very simple to use and you shall only have to check boxes or enter URLs, so you can use an .htaccess file even when you have never had a website hosting account before. Our .htaccess generator offers a wide range of options - you can block IP addresses, set the first page that loads when someone opens your site, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You will even be able to set a different PHP version for each one of your Internet sites.

.htaccess Generator in Semi-dedicated Servers

The Linux semi-dedicated servers which we offer you include a powerful, but easy-to-use .htaccess generator tool, that will give you the chance to use this type of a file for any purpose even if you are not very experienced. The tool is included in the Hepsia CP and has the same intuitive interface. If you'd like to use any of the options that may be enabled via an .htaccess file, you simply need to check the box next to it in the list which you'll find when you open the tool. Also you can pick in which directory of your account the file will be created and you shall be good to go. An .htaccess file can be used to set a PHP version for a certain website that is different from the version that the account itself uses. In case you have any difficulties, we have thorough help articles and educational videos that will reveal to you first-hand how to enable any option which is available in the tool.