With an .htaccess file, you'll specify how the web server which addresses the requests to your websites must act in various occasions. This is a text file with directives that are carried out when somebody tries to open your site and what happens next depends on the content of the file. For example, you may block a particular IP address from opening your website, and the server will decline your visitor’s request, or you can forward your domain name to another URL, so the server will direct the visitor to the new web address. You may also use custom-made error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, including WordPress, Drupal and Joomla, use an .htaccess file to operate efficiently.

.htaccess Generator in Cloud Website Hosting

When you purchase any of our cloud website hosting solutions, you can benefit from our intuitive .htaccess generator tool, which is part of the Hepsia CP. You'll not need to know what syntax the different directives in this sort of a file should have, because our tool is easy to use and you shall only have to check boxes or type URLs, so you can use an .htaccess file even in case you have never had a hosting account before. Our .htaccess generator provides a number of options - you could block IP addresses, set the first page that loads when somebody opens your website, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You shall even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Servers

The Linux semi-dedicated servers which we provide come with an efficient, but easy-to-use .htaccess generator tool, that will provide you with the option to use such a file for any purpose even if you're not very experienced. The tool is integrated into the Hepsia CP and has the same intuitive interface. If you would like to use any of the options which could be enabled via an .htaccess file, you just have to check the box next to it in the list which 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'll be ready. An .htaccess file could also be used to set a PHP version for a specific site which is different from the version that the account itself employs. If you have any troubles, we have in-depth help articles and video tutorials which will show you first-hand how to activate any option available within the tool.