.htaccess is a small text file that is installed either directly in a domain folder or in a subfolder to inform the web server how it should handle requests when a site or a folder which is part of it is accessed. Lots of widely used scripts such as 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 Internet sites, or you can request the guest to input a username and a password in order to view the content. You could also set up URL redirecting or use custom error pages for your website, prevent other websites from linking to your content directly and from using your account’s traffic quota, etcetera. An .htaccess file will give you a lot more control over your Internet sites and the way they work.

.htaccess Generator in Website Hosting

When you get any of our website hosting packages, you can reap the benefits of our intuitive .htaccess generator tool, that is part of the Hepsia Control Panel. You'll not need to know what syntax the many directives in this type of a file should have, since our tool is very simple to use and you shall only have to check boxes or enter URLs, so you can easily use an .htaccess file even if you have never had a website hosting account before. Our .htaccess generator gives a lot of options - you'll be able to block IP addresses, set the first page that loads when an individual 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 will even be able to set a different PHP version for each one of your sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans offer an .htaccess generator tool, that is simple enough to be used by individuals with no previous experience. You shall be able to access it through your Hepsia Control Panel and use an intuitive interface to enable any option you need. When you choose the folder where our system will create the .htaccess file, you just have to check the boxes beside the options that you want to enable, then save the changes and you'll be set. The one thing you'll have to enter manually shall be a URL - if you want to use the .htaccess file to forward one of your domains/subdomains to another address or if you want to use custom error pages. Our platform shall also permit you to set the PHP version that a site will use by putting an .htaccess file in its root folder, no matter if your account in general uses a different version.