An .htaccess file is a text file which contains directives which tell a server how to behave in particular events. It must be put in the folder where these directives should be carried out. Loads of script-driven applications use this kind of a file to perform efficiently - WordPress and Joomla, for instance. You can use such a file with custom content too and do lots of things - block an IP address, a whole network or particular sites from accessing your site, set custom made error pages which will appear rather than the server-generated ones if a visitor encounters some error on the site, forward a domain or a subdomain to a new web address, create a password-protected area and more. With an .htaccess file, you'll have significantly better control over your online presence.

.htaccess Generator in Shared Hosting

We have an easy-to-use .htaccess generator tool which will allow you to set up and use this type of files without difficulties even if you have no previous experience and you don't know the syntax of the respective directives for this type of a file. The tool is part of the Hepsia Control Panel, included with our shared hosting and any option inside it can be enabled by choosing acheckbox and eventually by typing a username or a URL, based on what exactly you need to do with the .htaccess file. You can also choose where the file should be created, so you will not need to do anything by hand after or before that. By using an .htaccess file, you shall also be able to choose the PHP version that'll be active for a given domain, no matter if it is not the same version as the one for the whole account.