An .htaccess file is a text file which includes directives which tell a web server how to behave in particular situations. It should be placed into the folder in which these directives should be performed. A lot of script-driven apps use this sort of a file to work correctly - WordPress and Joomla, for instance. You can use such a file with custom made content as well and do quite a lot of things - block an IP address, an entire network or specific sites from accessing your site, set custom made error pages that shall be displayed rather than the server-generated ones if a visitor encounters some error on the site, direct a domain or a subdomain to a new web address, create a password-protected area and much more. With an .htaccess file, you shall have more effective control over your world-wide web presence.
.htaccess Generator in Cloud Hosting
If you wish to use any of the functionalities an .htaccess file offers, but you have never dealt with such matters before, you should use the .htaccess generator tool that comes with all our cloud hosting packages. The tool is part of our in-house built Hepsia CP and it shall offer you a simple and intuitive means to create an .htaccess file inside any folder that you've created within the account. Quite a few options will be available with checkboxes, so you should only choose the one that you need and eventually input a URL - if you are using the file to redirect a domain or to set customized error pages for each of your Internet sites. Because our cloud platform supports a variety of PHP versions, you'll be able to set any of these versions for any of your websites even if it is different from the version set for your web hosting account as a whole.