An .htaccess file is a text file that contains directives that tell a server how to act in certain cases. It needs to be placed in the folder where these directives should be performed. A lot of script-driven apps use this sort of a file to operate properly - WordPress and Joomla, for instance. You can use such a file with personalized content as well and do quite a lot of things - block an IP address, an entire network or certain Internet sites from accessing your site, set personalized error pages that will show up rather than the server-generated ones if a visitor encounters some error on the website, redirect a domain or a subdomain to another web address, create a password-protected area plus much more. With an .htaccess file, you shall have significantly better control over your world-wide web presence.

.htaccess Generator in Shared Hosting

If you would like to use any of the functions that an .htaccess file offers, but you haven't dealt with this sort of matters before, you need to use the .htaccess generator tool provided with all our shared hosting packages. The tool is part of our in-house built Hepsia CP and it'll give you an easy and intuitive means to set up 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 pick the one that you need and eventually type in a URL - if you are using the file to redirect a domain or to set custom error pages for any of your sites. As our cloud platform supports a number of PHP versions, you will also be able to set any of these versions for any of your Internet sites regardless if it's different from the version set for your website hosting account as a whole.