An .htaccess file is a text file which contains directives that tell a server how to behave in certain situations. It should be placed in the folder where these directives should be performed. Loads of script-driven applications use this type of a file to operate efficiently - WordPress and Joomla, for example. You can use such a file with personalized content as well and do a lot of things - block an IP address, an entire network or particular websites from accessing your site, set personalized error pages which shall be displayed rather than the server-generated ones in case a visitor encounters some error on the site, redirect a domain or a subdomain to a different web address, set up a password-protected area and much more. With an .htaccess file, you shall have significantly better control over your online presence.

.htaccess Generator in Cloud Hosting

If you wish to use any of the functions that an .htaccess file provides, but you haven't dealt with this sort of matters before, you should use the .htaccess generator tool included with all our cloud hosting plans. The tool is part of our in-house built Hepsia CP and it will give you a simple and user-friendly means to set up an .htaccess file in any folder that you have created within the account. Many options will be available with checkboxes, so you should only select the one that you need and eventually enter a URL - if you are using the file to redirect a domain or to set customized error pages for each of your websites. Since our cloud platform supports a number of different PHP versions, you'll 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 hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans feature an .htaccess generator tool, that is easy enough to be used by people with zero previous experience. You shall be able to access it via your Hepsia CP and employ a user-friendly interface to enable any option you want. After you choose the folder in which our system will create the .htaccess file, you just have to check the boxes next to the options you want to enable, then save the changes and you'll be ready. The one thing you shall have to type in by hand will be a URL - if you would like to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you prefer to use custom made error pages. Our platform will also enable you to set the PHP version which a website will use by placing an .htaccess file within its root folder, even when your account in its entirety uses a different version.