An .htaccess file is a text file that incorporates directives that tell a server how to behave in specific situations. It must be put in the folder where these directives should be executed. Numerous script-driven apps use this kind of a file to work correctly - WordPress and Joomla, in particular. You can use such a file with personalized content too and do a lot of things - block an IP address, an entire network or particular sites from accessing your site, set customized error pages which will be displayed instead of the server-generated ones in case a visitor encounters some error on the site, direct a domain or a subdomain to another web address, set up a password-protected area and much more. With an .htaccess file, you shall have far better control over your world-wide web presence.
.htaccess Generator in Cloud Hosting
If you want to use any of the functions that an .htaccess file offers, but you have not dealt with such matters before, you can use the .htaccess generator tool offered with our cloud hosting packages. 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 in any folder that you've created in the account. Quite a few options will be available with checkboxes, so you should only pick the one that you need and eventually type a URL - if you are using the file to forward a domain or to set custom made error pages for any of your sites. Considering that our cloud platform supports a number of different PHP versions, you'll be able to set any of these versions for any of your Internet sites even if it is different from the version set for your website hosting account as a whole.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server plans feature an .htaccess generator tool, that is easy enough to be used by individuals with zero previous experience. You'll be able to access it through your Hepsia CP and use an intuitive interface to activate any option you want. After you choose the folder in which our system will create the .htaccess file, you simply need to check the boxes next to the options which you want to enable, then save the changes and you shall be all set. The one thing you will have to input manually shall be a URL - if you'd like to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you prefer to use custom error pages. Our platform will also enable you to set the PHP version which a website will use by adding an .htaccess file in its root folder, no matter if your account as a whole uses a different version.