An .htaccess file is a text file which features directives which tell a server how to act in specific events. It must be placed in the folder where these directives should be carried out. A lot of script-driven apps use this type of a file to function efficiently - WordPress and Joomla, in particular. You can use such a file with custom content as well and do a wide range of things - block an IP address, a whole network or certain sites from accessing your site, set customized error pages which will be displayed rather than the server-generated ones if a visitor encounters some error on the site, forward a domain or a subdomain to a different web address, set up a password-protected area plus much more. With an .htaccess file, you'll have much better control over your web presence.
.htaccess Generator in Shared Hosting
If you wish to use any of the functionalities an .htaccess file provides, but you have not dealt with this type of matters before, you can use the .htaccess generator tool that comes with all of our shared hosting plans. The tool is part of our in-house built Hepsia CP and it will give you an easy and user-friendly means to set up an .htaccess file in any folder you have created inside the account. Many 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 customized error pages for any of your Internet sites. Because our cloud platform supports a variety of PHP versions, you'll also be able to set any of these versions for each of your websites regardless if it's different from the version set for your web hosting account as a whole.