An .htaccess file is a text file that features directives that tell a web server how to behave in certain occasions. It should be positioned in the folder where these directives should be carried out. Loads of script-driven applications employ this type of a file to operate properly - WordPress and Joomla, for example. You can use this type of a file with custom content as well and do quite a lot of things - block an IP address, an entire network or certain websites from accessing your site, set custom error pages which shall be displayed rather than the server-generated ones in case a visitor encounters some error on the site, direct a domain or a subdomain to another web address, create a password-protected area and more. With an .htaccess file, you will have much better control over your web presence.

.htaccess Generator in Website Hosting

We have an easy-to-use .htaccess generator tool which will allow you to set up and use this kind 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 kind of a file. The tool is part of the Hepsia CP, offered with our website hosting plans and any option inside it can be activated by picking acheckbox and eventually by inputting a username or a URL, in accordance with what exactly you need to do with the .htaccess file. You may also decide where the file should be created, so you shall not need to do anything by hand after or before that. By using an .htaccess file, you'll also be able to pick 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.