An .htaccess file is a text file that contains directives which tell a web server how to operate in particular situations. It needs to be put in the folder where these directives should be carried out. A lot of script-driven apps employ this sort of a file to function properly - WordPress and Joomla™, for example. You can use such a file with custom content too and do quite a lot of things - block an IP address, a whole network or certain websites from accessing your site, set custom made error pages that shall be displayed instead of the server-generated ones if a visitor encounters some error on the website, forward a domain or a subdomain to a different web address, create a password-protected area and more. With an .htaccess file, you shall have much better control over your online presence.
.htaccess Generator in Shared Hosting
We have a time and effort saving .htaccess generator tool that will enable you to create and use this sort of files without issues even if you do not have previous experience and you don't know the syntax of the particular directives for this sort of a file. The tool is part of the Hepsia Control Panel, which comes with our Linux shared hosting packages
and any option within it can be activated by choosing acheckbox and eventually by entering a username or a URL, depending on what exactly you want to do with the .htaccess file. You could also choose where the file should be created, so you won't have to do anything by hand before or after that. With an .htaccess file, you'll also be able to pick the PHP version that'll be enabled for a specific 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 offer an .htaccess generator tool, that is easy enough to be used by people without previous experience. You will be able to access it via your Hepsia CP and use an intuitive interface to enable any option you want. When you choose the folder where our system will set up the .htaccess file, you simply need to check the boxes next to the options that you want to enable, then save the changes and you shall be ready. The only thing you'll have to type in by hand 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 would like to use custom error pages. Our platform shall also allow you to set the PHP version that a site will use by adding an .htaccess file within its root folder, even when your account in general uses a different version.