.htaccess is a small text file that's located either directly in a domain folder or inside a subfolder to tell the web server how it has to address requests when an Internet site or a folder which is part of it is accessed. Lots of popular scripts such as WordPress and Joomla use an .htaccess file. If you get a lot of fake traffic to your website, for example, you could block the access of specific IP addresses and third-party sites, or you could request the guest to enter a username and a password in order to view the content. You could also set up URL redirecting or use custom made error pages for your Internet site, prevent other sites 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 sites and the way they work.

.htaccess Generator in Hosting

When you acquire any of our hosting plans, you can take full advantage of our easy-to-use .htaccess generator tool, that's part of the Hepsia CP. You won't need to know what syntax the different directives in this sort of a file must have, since our tool is super easy to use and you shall only have to check boxes or type in URLs, so you can use an .htaccess file even if you have never had an Internet hosting account before. Our .htaccess generator provides a substantial amount of options - you may block IP addresses, set the first page that loads when somebody opens your Internet site, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You shall 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 packages include an .htaccess generator tool, that is simple enough to be used by people with zero previous experience. You'll be able to access it using your Hepsia Control Panel and take advantage of a user-friendly interface to enable any option you need. Once you select the folder where our system will create the .htaccess file, you just have to check the boxes next to the options that you would like to enable, then save the changes and you'll be all set. The one thing you will have to enter manually will be a URL - if you need to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you want to use custom error pages. Our platform will also allow you to set the PHP version which an Internet site will use by placing an .htaccess file within its root folder, no matter if your account in general uses a different version.