An .htaccess file is a text file which features directives that tell a server how to behave in specific cases. It should be put in the folder where these directives should be executed. A lot of script-driven apps employ this sort of a file to function correctly - WordPress and Joomla, in particular. You can use this kind of a file with personalized content too and do quite a lot of things - block an IP address, a whole network or specific Internet sites from accessing your site, set custom error pages which shall be displayed rather than server-generated ones if a visitor encounters some error on the site, direct a domain or a subdomain to a different web address, create a password-protected area plus much more. With an .htaccess file, you shall have more effective control over your web presence.

.htaccess Generator in Web Hosting

If you want to use any of the features which an .htaccess file offers, but you've never dealt with this kind of matters before, you need to use the .htaccess generator tool included with all our web hosting plans. The tool is part of our in-house built Hepsia Control Panel and it'll offer you a simple and user-friendly means to set up an .htaccess file in any folder that you've created within the account. Many options will be available with checkboxes, so you should only pick the one which you need and eventually type in a URL - if you are using the file to forward a domain or to set customized error pages for each of your sites. Considering that our cloud platform supports a number of different PHP versions, you'll be able to set any of these versions for any of your sites even when it is different from the version set for your hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server packages include an .htaccess generator tool, which is easy enough to be used by people with no previous experience. You'll be able to access it through your Hepsia CP and take advantage of an easy-to-use interface to activate any option you would like. Once you choose the folder in which our system will create the .htaccess file, you simply need to check the boxes next to the options you want to enable, then save the changes and you will be good to go. The one thing you shall have to type manually will be a URL - if you'd like to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you prefer to use customized error pages. Our platform will also permit you to set the PHP version that an Internet site will use by placing an .htaccess file in its root folder, regardless if your account as a whole uses a different version.