With an .htaccess file, you can specify how the server which handles the requests to your web sites have to act a number of situations. This is a text file with directives that are carried out when an individual tries to open your website and what happens next will depend on the content of the file. As an illustration, you could block a specific IP address from accessing your website, therefore the server will decline the visitor’s request, or you can forward your domain name to an alternative URL, so the server will direct the visitor to the new web address. You could also use custom-made error pages or preserve any part of your website with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven applications, including WordPress, Drupal and Joomla, use an .htaccess file to operate properly.

.htaccess Generator in Cloud Website Hosting

If you acquire any of our cloud website hosting solutions, you can benefit from our easy-to-use .htaccess generator tool, that is part of the Hepsia CP. You will not need to know what syntax the various directives in this kind of a file should have, as our tool is a breeze to use and you will only have to check boxes or type in URLs, so you can use an .htaccess file even in case you have never had a web hosting account before. Our .htaccess generator offers a number of options - you can block IP addresses, set the first page that loads when an individual opens your website, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You shall even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Servers

If you open a semi-dedicated server account with us, you shall be able to use our efficient, albeit simple-to-use .htaccess generator tool, that's provided with the Hepsia hosting Control Panel. You could pick the folder where the file will be created and after that you will only need to select a checkbox next to every option you want to use - it's as simple as that. If you would like to set up URL forwarding or to set personalized error pages for any of your websites, you will also have to type in a web address, but you will not need to type in any special code at any time, so you can use our tool even if you don't have previous experience. Because our sophisticated website hosting platform supports several different versions of PHP, you shall also be able to choose the version which any website shall use, even if it's not the same as the one selected for the account as a whole.