An .htaccess file is a text file which contains directives which tell a web server how to act in particular events. It needs to be placed into the folder in which these directives should be performed. A lot of script-driven applications use this type of a file to function properly - WordPress and Joomla, in particular. You can use such a file with custom content as well and do quite a lot of things - block an IP address, a whole network or specific websites 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 website, direct a domain or a subdomain to a new web address, create a password-protected area and more. With an .htaccess file, you will have far better control over your online presence.

.htaccess Generator in Web Hosting

We have an intuitive .htaccess generator tool that will allow you to create and use this kind of files with no difficulties even if you have zero previous experience and you don't know the syntax of the respective directives for such a file. The tool is part of the Hepsia CP, included with our web hosting and any option inside it may be enabled by picking acheckbox and eventually by inputting a username or a URL, depending on what exactly you intend to do with the .htaccess file. You may also decide where the file should be created, so you will not need to do anything by hand after or before that. Using an .htaccess file, you'll also be able to select the PHP version which will be enabled for a given domain, even when it isn't the same version as the one for the whole account.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans offer an .htaccess generator tool, which is easy enough to be used by individuals without previous experience. You will be able to access it using your Hepsia Control Panel and use an intuitive interface to activate any option you want. After you choose the folder where our system will create the .htaccess file, you only need to check the boxes beside the options which you want to activate, then save the changes and you'll be set. The one thing you shall have to enter manually will be a URL - if you want to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you prefer to use customized error pages. Our platform will also allow you to set the PHP version that a website will use by adding an .htaccess file within its root folder, even if your account in its entirety uses a different version.