.htaccess is a small text file that's located either directly in a domain folder or inside a subfolder to tell the server how it has to handle requests when a website or a folder which is part of it is accessed. Many popular scripts including WordPress and Joomla™ use an .htaccess file. If you get a lot of fake traffic to your site, for example, you may block the access of certain IP addresses and third-party sites, or you could request the guest to type in a username and a password 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, etc. An .htaccess file offers you significantly more control over your sites and the way they work.
.htaccess Generator in Shared Hosting
If you would like to use any of the functions which an .htaccess file provides, but you've never dealt with this kind of matters before, you can use the .htaccess generator tool included with all our shared hosting
plans. The tool is part of our in-house built Hepsia CP and it'll provide you with an easy and intuitive means to create an .htaccess file within any folder that you have created inside the account. A lot of options shall be available with checkboxes, so you should only select the one which you need and eventually enter a URL - if you are using the file to redirect a domain or to set customized error pages for each of your sites. Since our cloud platform supports a number of different PHP versions, you shall also be able to set any of these versions for each of your Internet sites even if it is different from the version set for your website hosting account as a whole.
.htaccess Generator in Semi-dedicated Hosting
The semi-dedicated packages
that we provide include a powerful, but easy-to-use .htaccess generator tool, which will provide you with the chance to use this sort of a file for any purpose even if you're not very experienced. The tool is included in the Hepsia CP and has the same intuitive interface. If you want to use any of the options which may be activated via an .htaccess file, you just need to check the box next to it inside the list that you will find when you open the tool. You may also choose in which directory of your account the file will be created and you shall be good to go. An .htaccess file may also be used to set a PHP version for a given website which differs from the version which the account itself uses. In case you have any problems, we have in-depth help articles and educational videos that shall show you first-hand how to enable any option that is available within the tool.