An .htaccess file is a text file which features directives which tell a web server how to behave in specific cases. It needs to be positioned in the folder in which these directives should be carried out. A lot of script-driven applications employ such a file to operate properly - WordPress and Joomla, for example. You can use this sort of a file with customized content too and do quite a lot of things - block an IP address, a whole network or certain websites from accessing your site, set tailor-made error pages that shall be displayed instead of the server-generated ones if a visitor encounters some error on the site, forward a domain or a subdomain to a different web address, set up a password-protected area plus more. With an .htaccess file, you shall have far better control over your presence online.
.htaccess Generator in Shared Hosting
If you want to use any of the functions that an .htaccess file provides, but you haven't dealt with this type of matters before, you should use the .htaccess generator tool offered with our shared hosting plans. The tool is part of our in-house built Hepsia CP and it will offer you a simple and intuitive means to create an .htaccess file in any folder that you have created in the account. A lot of options shall be available with checkboxes, so you should only choose the one that you need and eventually type in a URL - if you are using the file to redirect 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 shall also be able to set any of these versions for any of your Internet sites even when it's different from the version set for your Internet hosting account as a whole.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server plans offer an .htaccess generator tool, that's simple enough to be used by individuals with zero previous experience. You will be able to access it using your Hepsia CP and benefit from an intuitive interface to enable any option you'd like. When you choose the folder in which our system will create the .htaccess file, you just have to check the boxes beside the options that you want to activate, then save the changes and you will be good to go. The one thing you shall have to enter manually shall be a URL - if you would like to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you prefer to use customized error pages. Our platform will also enable you to set the PHP version that a site will use by placing an .htaccess file in its root folder, even if your account as a whole uses a different version.