An .htaccess file is a text file which contains directives which tell a web server how to behave in certain cases. It must be put in the folder where these directives should be performed. A lot of script-driven applications employ this kind of a file to perform correctly - WordPress and Joomla, for instance. You can use this kind of a file with customized content too and do a wide range of things - block an IP address, a whole network or specific websites from accessing your site, set tailor-made error pages which shall show up rather than the server-generated ones if a visitor encounters some error on the website, forward a domain or a subdomain to a new web address, set up a password-protected area plus more. With an .htaccess file, you shall have significantly better control over your web presence.

.htaccess Generator in Website Hosting

We have an intuitive .htaccess generator tool which will allow you to create and use this sort of files without difficulties even if you don't have previous experience and you do not know the syntax of the respective directives for this type of a file. The tool is part of the Hepsia Control Panel, offered with our website hosting plans and any option inside it can be enabled by selecting acheckbox and eventually by entering a username or a URL, based on what exactly you would like to do with the .htaccess file. You may also select where the file should be created, so you shall not need to do anything by hand after or before that. By using an .htaccess file, you'll be able to choose the PHP version which will be enabled for a given domain, even if it isn't the same version as the one for the whole account.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server packages feature an .htaccess generator tool, which is easy enough to be used by people without previous experience. You'll be able to access it using your Hepsia Control Panel and benefit from an easy-to-use interface to enable any option you'd like. Once you choose the folder in which our system will create the .htaccess file, you just have to check the boxes beside the options that you want to activate, then save the changes and you will be set. The one thing you will have to type in manually will be a URL - if you would like to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you want to use custom error pages. Our platform will also permit you to set the PHP version which a site will use by putting an .htaccess file in its root folder, even if your account in general uses a different version.