.htaccess is a small text file that is placed either directly inside a domain folder or inside a subfolder to tell the server how it should handle requests when an Internet site or a folder that's part of it is accessed. Many commonly used scripts like WordPress and Joomla use an .htaccess file. If you get loads of fake traffic to your website, for example, you can block the access of certain IP addresses and third-party websites, or you could request the visitor to enter a username and a password to be able to see the content. You may also set up URL forwarding or use custom made error pages for your Internet site, prevent other websites from linking to your content directly and from using your account’s traffic quota, and so forth. An .htaccess file will give you far more control over your sites and the way they function.

.htaccess Generator in Web Hosting

When you acquire any of our web hosting packages, you can take advantage of our easy-to-use .htaccess generator tool, that's part of the Hepsia CP. You will not need to know what syntax the many directives in this type of a file should have, since our tool is easy to use and you'll only need to check boxes or input URLs, so you can easily use an .htaccess file even in case you have never had a web hosting account before. Our .htaccess generator offers a large amount of options - you are able to block IP addresses, set the first page that loads when a person opens your site, set up password protection, forward 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 one of your websites.

.htaccess Generator in Semi-dedicated Hosting

If you open a semi-dedicated server account with our company, you'll be able to use our powerful, albeit simple-to-use .htaccess generator tool, that is provided with the Hepsia hosting Control Panel. You could choose the folder in which the file will be set up and after that you will simply need to select a checkbox next to each and every option that you'd like to use - it's as easy as that. If you need to set up URL forwarding or to set customized error pages for any of your websites, you'll also need to input a web address, but you will not have to type in any special code at any time, so you can easily use our tool even if you do not have previous experience. Since our innovative hosting platform supports several different versions of PHP, you will also be able to select the version which any site shall use, even if it's not the same as the one selected for the account in general.