An .htaccess file is a text file which incorporates directives which tell a server how to behave in certain cases. It should be placed in the folder in which these directives should be performed. Loads of script-driven applications employ such a file to operate correctly - WordPress and Joomla, in particular. You can use such a file with custom made content too and do quite a lot of things - block an IP address, an entire network or certain sites from accessing your site, set tailor-made error pages that shall be displayed instead of the server-generated ones in case a visitor encounters some error on the website, redirect a domain or a subdomain to a different web address, create a password-protected area and more. With an .htaccess file, you shall have significantly better control over your world-wide web presence.

.htaccess Generator in Hosting

When you get any of our hosting plans, you can benefit from our intuitive .htaccess generator tool, which is part of the Hepsia Control Panel. You will not need to know what syntax the many directives in such a file need to have, as our tool is very simple to use and you'll only need to check boxes or type URLs, so you can use an .htaccess file even in case you have never had a hosting account before. Our .htaccess generator gives a wide range of options - you are able to block IP addresses, set the first page that loads when a person opens your Internet site, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You'll even be able to set a different PHP version for each of your Internet sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server packages include an .htaccess generator tool, that is simple enough to be used by individuals with no previous experience. You'll be able to access it using your Hepsia Control Panel and take advantage of an intuitive interface to activate any option you need. After you select the folder where our system will set up the .htaccess file, you simply need to check the boxes beside the options you want to enable, then save the changes and you will be ready. The one thing you will have to type manually shall be a URL - if you wish to use the .htaccess file to forward one of your domains/subdomains to another address or if you prefer to use personalized error pages. Our platform will also enable you to set the PHP version which a website will use by putting an .htaccess file in its root folder, even if your account in general uses a different version.