An .htaccess file is a text file which incorporates directives which tell a web server how to act in particular occasions. It must be put in the folder in which these directives should be carried out. A lot of script-driven applications use this sort of a file to perform correctly - WordPress and Joomla, for example. You can use this sort of a file with custom made content too and do lots of things - block an IP address, an entire network or certain websites from accessing your site, set personalized error pages which will be displayed instead of the server-generated ones in case a visitor encounters some error on the website, forward a domain or a subdomain to a new web address, set up a password-protected area plus more. With an .htaccess file, you'll have significantly better control over your presence online.
.htaccess Generator in Shared Hosting
If you want to use any of the functions an .htaccess file provides, but you have never dealt with this kind of matters before, you can 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 will provide you with an uncomplicated and user-friendly means to create an .htaccess file in any folder you have created within the account. A huge number of options will be available with checkboxes, so you should only select the one you need and eventually type a URL - if you are using the file to redirect a domain or to set custom error pages for any of your websites. Since our cloud platform supports a variety of PHP versions, you will also be able to set any of these versions for each of your websites even if it is different from the version set for your website hosting account as a whole.
.htaccess Generator in Semi-dedicated Servers
The semi-dedicated servers that we provide include an efficient, but user-friendly .htaccess generator tool, that will give you the option to use this type of a file for any purpose even if you're not experienced. The tool is included in the Hepsia CP and has the same intuitive interface. If you'd like to use some of the options that may be enabled with an .htaccess file, you just have to check the box next to it in the list that you shall find when you open the tool. You may also pick in which directory of your account the file will be created and you shall be ready. An .htaccess file could also be used to set a PHP version for a specific website which is different from the version that the account itself employs. Should you have any difficulties, we have detailed help articles and video lessons which will show you first-hand how to activate any option which is available within the tool.