An .htaccess file is a text file which includes directives which tell a web server how to act in particular situations. It should be positioned in the folder in which these directives should be carried out. A lot of script-driven applications use this type of a file to function properly - WordPress and Joomla™, for example. You can use this kind of a file with personalized content as well and do a lot of things - block an IP address, an entire network or certain Internet sites from accessing your site, set custom error pages that will show up instead of the server-generated ones in case 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 and much more. With an .htaccess file, you shall have far better control over your web presence.
.htaccess Generator in Cloud Hosting
If you would like to use any of the functions that an .htaccess file provides, but you have not dealt with such matters before, you can use the .htaccess generator tool that comes with our cloud hosting
plans. The tool is part of our in-house built Hepsia Control Panel and it will provide you with an uncomplicated and intuitive means to set up an .htaccess file inside any folder that you've created inside the account. Quite a few options will be available with checkboxes, so you should only choose the one 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 Internet sites. Since our cloud platform supports a variety of PHP versions, you'll 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
Our semi-dedicated server
packages offer an .htaccess generator tool, that's easy enough to be used by individuals with zero previous experience. You shall be able to access it via your Hepsia Control Panel and use an easy-to-use interface to activate any option you want. When you choose the folder where our system will create the .htaccess file, you only need to check the boxes next to the options you want to enable, then save the changes and you'll be ready. The one thing you will have to enter by hand shall be a URL - if you want to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you would like to use custom error pages. Our platform shall also permit you to set the PHP version that an Internet site will use by placing an .htaccess file within its root folder, no matter if your account as a whole uses a different version.