With an .htaccess file, you can define how the web server which handles the requests to your Internet sites have to act in different scenarios. This is a text file with directives that are carried out when someone tries to open your website and what happens next depends on the content of the file. As an example, you can block a certain IP address from opening your website, therefore the server will decline your visitor’s request, or you can redirect your domain name to an alternative URL, so the server will redirect the visitor to the new web address. Also you can use custom error pages or secure any part of your website with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to work properly.

.htaccess Generator in Hosting

If you wish to use any of the functions an .htaccess file offers, but you have never dealt with this kind of matters before, you can use the .htaccess generator tool offered with all our hosting solutions. The tool is part of our in-house built Hepsia Control Panel and it will give you an uncomplicated and intuitive means to create an .htaccess file within any folder that you have created within the account. Quite a few options will be available with checkboxes, so you should only pick the one that you need and eventually enter a URL - if you are using the file to forward a domain or to set customized error pages for any of your websites. As our cloud platform supports many different PHP versions, you shall also be able to set any of these versions for any of your websites even if it's different from the version set for your web hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

If you start a semi-dedicated server account with our company, you shall be able to use our powerful, albeit simple-to-use .htaccess generator tool, that's part of the Hepsia hosting Control Panel. You can choose the folder where the file shall be created and after that you will only have to select a checkbox next to each option you want to use - it is as basic as that. If you want to set up URL redirection or to set custom error pages for each of your Internet sites, you will also need to enter a web address, but you won't have to type in any special code at any time, so you can easily use our tool even if you do not have previous experience. As our innovative hosting platform supports a number of different versions of PHP, you shall also be able to choose the version that any site shall use, even if it is not identical to the one selected for the account in general.