An .htaccess file is a text file that incorporates directives that tell a server how to behave in specific events. It must be positioned in the folder where these directives should be performed. Numerous script-driven applications use this kind of a file to perform properly - WordPress and Joomla, for example. You can use this kind of a file with custom content as well and do a lot of things - block an IP address, an entire network or specific Internet sites from accessing your site, set customized error pages that shall appear instead of the server-generated ones in case a visitor encounters some error on the website, direct a domain or a subdomain to a different web address, create a password-protected area plus much more. With an .htaccess file, you'll have significantly better control over your web presence.
.htaccess Generator in Shared Website Hosting
We have an intuitive .htaccess generator tool that will allow you to create and use this kind of files without any trouble even if you have zero previous experience and you don't know the syntax of the respective directives for this sort of a file. The tool is part of the Hepsia Control Panel, provided with our Linux shared website hosting packages and any option in it can be activated by choosing acheckbox and eventually by inputting a username or a URL, depending on what exactly you need to do with the .htaccess file. You could also select where the file should be created, so you will not need to do anything manually after or before that. With an .htaccess file, you will also be able to pick the PHP version that'll be enabled for a given domain, even if it is not the same version as the one for the whole account.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server plans come with an .htaccess generator tool, that's simple enough to be used by individuals with zero previous experience. You'll be able to access it through your Hepsia CP and use an intuitive interface to enable any option you would like. After you select the folder where our system will set up the .htaccess file, you only need to check the boxes beside the options that you would like to enable, then save the changes and you shall be good to go. The only thing you'll have to input by hand shall 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 would like to use customized error pages. Our platform shall also allow you to set the PHP version which a website will use by placing an .htaccess file in its root folder, even when your account in its entirety uses a different version.