An .htaccess file is a text file which contains directives that tell a web server how to behave in particular occasions. It must be positioned in the folder where these directives should be carried out. Loads of script-driven apps employ this type of a file to operate efficiently - WordPress and Joomla, for instance. You can use this sort of a file with custom content too and do a wide range of things - block an IP address, a whole network or specific Internet sites from accessing your site, set customized error pages that will show up rather than server-generated ones if a visitor encounters some error on the website, redirect a domain or a subdomain to a different web address, set up a password-protected area plus more. With an .htaccess file, you'll have far better control over your world-wide web presence.
.htaccess Generator in Shared Hosting
If you wish to use any of the features which an .htaccess file provides, but you haven't dealt with this kind of matters before, you need to use the .htaccess generator tool included with all our shared hosting packages. The tool is part of our in-house built Hepsia Control Panel and it will provide you with an easy and user-friendly means to create an .htaccess file in any folder that you've created within the account. A huge number of options shall be available with checkboxes, so you should only choose the one you need and eventually type a URL - if you are using the file to forward a domain or to set customized error pages for any of your Internet sites. Considering that our cloud platform supports a number of PHP versions, you'll be able to set any of these versions for each of your websites regardless if it is different from the version set for your web hosting account as a whole.