.htaccess is a small text file that is located either directly in a domain folder or inside a subfolder to guide the web server how it must manage requests when a website or a folder that's part of it is accessed. Numerous popular scripts like Joomla and WordPress use an .htaccess file. If you get a considerable amount of fake traffic to your Internet site, for example, you can block the access of certain IP addresses and third-party sites, or you can request the visitor to enter a username and a password in order to view the content. You can also set up URL forwarding or use customized 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 on. An .htaccess file gives you significantly more control over your sites and the way they work.

.htaccess Generator in Hosting

When you get any of our hosting solutions, you can benefit from 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 kind of a file need to have, as our tool is easy to use and you will only have to check boxes or input URLs, so you can certainly use an .htaccess file even when you have never had an Internet 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 somebody opens your Internet site, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You will even be able to set a different PHP version for each of your sites.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server packages come with an .htaccess generator tool, which is easy enough to be used by people with no previous experience. You shall be able to access it via your Hepsia CP and benefit from an easy-to-use interface to enable any option you would like. When you select the folder where our system will create the .htaccess file, you just need to check the boxes next to the options you want to activate, then save the changes and you'll be good to go. The only thing you shall have to enter manually shall be a URL - if you'd like to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you would like to use personalized error pages. Our platform shall also enable you to set the PHP version which an Internet site will use by adding an .htaccess file in its root folder, regardless if your account in general uses a different version.