An .htaccess file is a text file that includes directives that tell a server how to operate in specific occasions. It needs to be positioned in the folder in which these directives should be carried out. Loads of script-driven applications employ this type of a file to function correctly - WordPress and Joomla, for example. You can use this sort of a file with custom content too 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 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 and much more. With an .htaccess file, you shall have significantly better control over your world-wide web presence.

.htaccess Generator in Shared Hosting

When you obtain any of our shared hosting plans, you can take full advantage of our intuitive .htaccess generator tool, that is part of the Hepsia Control Panel. You won't need to know what syntax the many directives in this kind of a file should have, as our tool is a breeze to use and you will only need to check boxes or type URLs, so you can easily use an .htaccess file even if you have never had a web hosting account before. Our .htaccess generator offers a lot of options - you'll be able to block IP addresses, set the first page that loads when a person opens your site, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You shall even be able to set a different PHP version for each of your sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans offer an .htaccess generator tool, that is easy enough to be used by individuals with zero previous experience. You will be able to access it via your Hepsia CP and use an easy-to-use interface to activate any option you need. When you select the folder where our system will set up the .htaccess file, you just need to check the boxes next to the options that you would like to enable, then save the changes and you shall be ready. The only thing you'll have to type by hand shall be a URL - if you need to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you would like to use custom error pages. Our platform will also allow you to set the PHP version that a website will use by adding an .htaccess file in its root folder, no matter if your account in general uses a different version.