An .htaccess file is a text file which includes directives which tell a server how to behave in specific situations. It should be put in the folder in which these directives should be executed. A lot of script-driven applications use this kind of a file to function efficiently - WordPress and Joomla, for example. You can use this sort of a file with customized content too and do a wide range of things - block an IP address, a whole network or particular Internet sites from accessing your site, set tailor-made error pages which will show up rather than 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, set up a password-protected area plus more. With an .htaccess file, you will have more effective control over your presence online.

.htaccess Generator in Cloud Hosting

When you get any of our cloud hosting packages, you can take advantage of our easy-to-use .htaccess generator tool, which is part of the Hepsia Control Panel. You'll not need to know what syntax the various directives in this sort of a file need to have, because our tool is very simple to use and you'll only need to check boxes or enter URLs, so you can easily use an .htaccess file even when you have never had a website hosting account before. Our .htaccess generator provides a wide range of options - you are able to block IP addresses, set the first page that loads when a person opens your website, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You will even be able to set a different PHP version for each one of your Internet sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans include an .htaccess generator tool, that is simple enough to be used by individuals with no previous experience. You shall be able to access it using your Hepsia Control Panel and take advantage of an intuitive interface to enable any option you want. Once you select the folder where our system will create the .htaccess file, you simply need to check the boxes beside the options you want to activate, then save the changes and you'll be set. The one thing you'll have to type manually will be a URL - if you want to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you want to use custom made error pages. Our platform will also allow you to set the PHP version that a website will use by putting an .htaccess file within its root folder, no matter if your account as a whole uses a different version.