An .htaccess file is a text file that features directives that tell a server how to act in specific situations. It needs to be placed in the folder where these directives should be performed. A lot of script-driven applications employ this type of a file to perform properly - WordPress and Joomla, for example. You can use this type of a file with custom content as well and do a wide range of things - block an IP address, an entire network or particular sites from accessing your site, set custom error pages which shall appear rather than the server-generated ones in case 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 much more. With an .htaccess file, you'll have much better control over your presence online.

.htaccess Generator in Website Hosting

We have an easy-to-use .htaccess generator tool that will enable you to set up and use this kind of files without trouble even if you have zero previous experience and you don't know the syntax of the particular directives for such a file. The tool is part of the Hepsia CP, offered with our Linux website hosting packages and any option within it can be enabled by choosing acheckbox and eventually by inputting a username or a URL, in accordance with what exactly you would like to do with the .htaccess file. You can also select where the file should be created, so you will not have to do anything manually before or after that. With an .htaccess file, you'll be able to choose the PHP version that'll be active for a specific domain, regardless if it isn't the same version as the one for the whole account.