An .htaccess file is a text file that includes directives which tell a server how to behave in specific occasions. It should be placed in the folder in which these directives should be carried out. Numerous script-driven applications employ this kind of a file to function correctly - WordPress and Joomla, in particular. You can use such a file with custom content as well and do lots of things - block an IP address, an entire network or specific Internet sites from accessing your site, set custom error pages that will appear rather than server-generated ones in case a visitor encounters some error on the site, direct a domain or a subdomain to a different web address, set up a password-protected area plus more. With an .htaccess file, you will have far better control over your online presence.

.htaccess Generator in Web Hosting

If you want to use any of the functions which an .htaccess file offers, but you have never dealt with such matters before, you need to use the .htaccess generator tool offered with all our web hosting packages. The tool is part of our in-house built Hepsia CP and it'll give you a simple and user-friendly means to create an .htaccess file within any folder you have created inside the account. A huge number of options shall be available with checkboxes, so you should only select the one that you need and eventually type a URL - if you are using the file to forward a domain or to set custom error pages for any of your sites. Because 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 Internet hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans come with an .htaccess generator tool, that 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 want. Once you pick the folder where our system will create the .htaccess file, you only need to check the boxes beside the options that you want to enable, then save the changes and you'll be ready. The one thing you'll have to enter manually shall be a URL - if you wish to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you would like to use customized error pages. Our platform shall also permit you to set the PHP version that a site will use by placing an .htaccess file in its root folder, even if your account as a whole uses a different version.