An .htaccess file is a text file that includes directives which tell a server how to behave in specific events. It must be put in the folder where these directives should be performed. Numerous script-driven apps employ such a file to operate efficiently - WordPress and Joomla, for example. You can use this kind of a file with custom content too and do a lot of things - block an IP address, a whole network or specific sites from accessing your site, set tailor-made error pages which 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 new web address, create a password-protected area and much more. With an .htaccess file, you'll have much better control over your presence online.
.htaccess Generator in Hosting
If you want to use any of the features an .htaccess file offers, but you have never dealt with such matters before, you should use the .htaccess generator tool provided with our hosting plans. The tool is part of our in-house built Hepsia Control Panel and it'll offer you an easy and user-friendly means to create an .htaccess file within any folder that you have created within the account. Many options will be available with checkboxes, so you should only select the one that you need and eventually input a URL - if you are using the file to forward a domain or to set personalized error pages for any of your sites. Considering that our cloud platform supports a number of different PHP versions, you shall also be able to set any of these versions for each of your Internet sites even when it is different from the version set for your website hosting account as a whole.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server packages provide an .htaccess generator tool, that is easy enough to be used by individuals without previous experience. You'll be able to access it through your Hepsia CP and employ an intuitive interface to activate any option you would like. As soon as you choose the folder in which our system will set up the .htaccess file, you only need to check the boxes next to the options that you would like to enable, then save the changes and you will be ready. The only thing you'll have to enter by hand shall be a URL - if you need to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you want to use custom error pages. Our platform shall also enable you to set the PHP version that an Internet site will use by adding an .htaccess file inside its root folder, even when your account in general uses a different version.