An .htaccess file is a text file which incorporates directives which tell a server how to act in specific situations. It needs to be placed in the folder in which these directives should be carried out. A lot of script-driven apps use this type of a file to perform correctly - WordPress and Joomla™, for instance. You can use this sort of a file with custom made content too and do a lot of things - block an IP address, a whole network or particular sites from accessing your site, set tailor-made error pages which will show up rather than the server-generated ones in case a visitor encounters some error on the website, forward a domain or a subdomain to a different web address, create a password-protected area plus more. With an .htaccess file, you shall have more effective control over your world-wide web presence.
.htaccess Generator in Shared Hosting
If you want to use any of the functions an .htaccess file offers, but you've never dealt with this type of matters before, you need to use the .htaccess generator tool provided with our shared hosting
plans. The tool is part of our in-house built Hepsia Control Panel and it'll give you an easy and intuitive means to set up an .htaccess file inside any folder which you have created inside the account. Many options shall be available with checkboxes, so you should only choose the one you need and eventually type in a URL - if you are using the file to forward a domain or to set personalized error pages for any of your websites. Because our cloud platform supports a number of different PHP versions, you'll also be able to set any of these versions for any of your websites even if it's different from the version set for your web hosting account as a whole.
.htaccess Generator in Semi-dedicated Hosting
The Linux semi-dedicated hosting
that we offer include an efficient, but time and effort saving .htaccess generator tool, which will provide you with the opportunity to use this sort of a file for any purpose even if you're not too experienced. The tool is incorporated into the Hepsia CP and has the same intuitive interface. If you'd like to use some of the options which could be enabled through an .htaccess file, you simply need to check the box next to it in the list which you will find when you open the tool. Also you can choose in which directory of your account the file will be created and you shall be good to go. An .htaccess file can also be used to set a PHP version for a given website that differs from the version that the account itself uses. If you have any troubles, we have comprehensive help articles and video tutorials which will explain to you first-hand how to activate any option that is available in the tool.