An .htaccess file is a text file which includes directives that tell a server how to operate in certain occasions. It must be placed in the folder where these directives should be performed. Many script-driven apps employ this type of a file to work correctly - WordPress and Joomla, in particular. 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 certain sites from accessing your site, set custom error pages that shall appear rather than the 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 will have much better control over your presence online.
.htaccess Generator in Shared Web Hosting
If you want to use any of the functions that an .htaccess file offers, but you have not dealt with this sort of matters before, you need to use the .htaccess generator tool included with our shared web hosting packages. The tool is part of our in-house built Hepsia CP and it shall provide you with an uncomplicated and user-friendly means to set up an .htaccess file within any folder you have created inside the account. A lot of options will be available with checkboxes, so you should only select the one you need and eventually enter a URL - if you are using the file to forward a domain or to set custom made error pages for any of your websites. As our cloud platform supports many different PHP versions, you shall 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.