An .htaccess file is a text file that includes directives which tell a web server how to act in certain situations. It needs to be placed in the folder in which these directives should be performed. A lot of script-driven apps employ this kind of a file to work correctly - WordPress and Joomla, for instance. You can use this kind of a file with customized content too and do a lot of things - block an IP address, an entire network or specific websites from accessing your site, set custom 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 another web address, set up a password-protected area plus much more. With an .htaccess file, you'll have far better control over your online presence.

.htaccess Generator in Shared Website Hosting

We have an easy-to-use .htaccess generator tool that will permit you to create and use this type of files without any difficulty even if you have no previous experience and you do not know the syntax of the specific directives for this sort of a file. The tool is part of the Hepsia Control Panel, supplied with our Linux shared website hosting packages and any option in it may be activated by picking acheckbox and eventually by typing a username or a URL, in accordance with what exactly you intend to do with the .htaccess file. You may also choose where the file should be created, so you will not have to do anything manually before or after that. By using an .htaccess file, you'll be able to choose the PHP version that'll be enabled for a specific domain, no matter if it is not the same version as the one for the whole account.