An .htaccess file is a text file which incorporates directives that tell a server how to act in certain events. It must be put in the folder in which these directives should be performed. Loads of script-driven applications use this type of a file to function properly - WordPress and Joomla, for instance. You can use this kind of a file with customized content too and do a wide range of things - block an IP address, a whole network or certain Internet sites from accessing your site, set personalized error pages that shall show up rather than server-generated ones if a visitor encounters some error on the site, forward a domain or a subdomain to another web address, set up a password-protected area and more. With an .htaccess file, you will have significantly better control over your world-wide web presence.
.htaccess Generator in Cloud Hosting
If you would like to use any of the functions an .htaccess file offers, but you haven't dealt with this sort of matters before, you need to use the .htaccess generator tool included with all of our cloud hosting plans. The tool is part of our in-house built Hepsia Control Panel and it shall give you a simple and intuitive means to create an .htaccess file in any folder you have created within the account. A large number of options shall be available with checkboxes, so you should only pick the one which you need and eventually type a URL - if you are using the file to redirect a domain or to set personalized error pages for each of your Internet sites. As our cloud platform supports a number of different PHP versions, you'll be able to set any of these versions for any of your sites regardless if it is different from the version set for your web hosting account as a whole.