.htaccess is a small text file that is located either directly inside a domain folder or inside a subfolder to inform the web server how it should handle requests when a website or a folder which is part of it is accessed. Lots of popular scripts such as Joomla and WordPress use an .htaccess file. If you get a great deal of fake traffic to your site, for instance, you'll be able to block the access of specific IP addresses and third-party sites, or you may request the guest to type in a username and a password in order to view the content. You could also set up URL forwarding or use custom error pages for your site, prevent other sites from linking to your content directly and from using your account’s traffic quota, and so on. An .htaccess file shall give you far more control over your sites and the way they perform.
.htaccess Generator in Cloud Hosting
If you wish to use any of the functions that an .htaccess file offers, but you've never dealt with this type of matters before, you should use the .htaccess generator tool provided with all of our cloud hosting packages. The tool is part of our in-house built Hepsia Control Panel and it will give you a simple and user-friendly means to create an .htaccess file in any folder that you've created inside the account. Many options shall be available with checkboxes, so you should only pick the one you need and eventually input a URL - if you are using the file to redirect a domain or to set customized error pages for any of your sites. Since our cloud platform supports a number of PHP versions, you will also be able to set any of these versions for any of your websites regardless if it's different from the version set for your Internet hosting account as a whole.