An .htaccess file is a text file which features directives which tell a web server how to behave in certain situations. It needs to be put in the folder in which these directives should be executed. Loads of script-driven applications employ this type of a file to perform properly - WordPress and Joomla, for instance. You can use this sort of a file with personalized content as well and do a wide range of things - block an IP address, an entire network or particular websites from accessing your site, set tailor-made error pages that shall be displayed instead of the server-generated ones in case a visitor encounters some error on the site, redirect a domain or a subdomain to a different web address, set up a password-protected area and much more. With an .htaccess file, you'll have more effective control over your online presence.

.htaccess Generator in Hosting

You may use an .htaccess file for any purpose on our modern cloud platform irrespective of which Linux hosting you choose when you sign up. In addition, if you would like use one of the features which such a file provides, but you do not have a lot of experience, you will be able to use our .htaccess generator tool, which will offer you an easy-to-use interface where you can use checkboxes and type in only file names or URLs. In this way, you can work with an .htaccess file even though you may not know the syntax of the directives you need to use in general. With only a couple of clicks, you shall be able to redirect a domain, to select an alternative homepage for a site, or to even set a different version of PHP for a particular site, which can be different from the version which your web hosting account uses.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server packages come with an .htaccess generator tool, which is simple enough to be used by people with zero previous experience. You'll be able to access it via your Hepsia Control Panel and benefit from a user-friendly interface to enable any option you would like. When you pick the folder in which our system will create the .htaccess file, you just need to check the boxes next to the options you want to activate, then save the changes and you will be all set. The one thing you shall have to type in by hand will be a URL - if you want to use the .htaccess file to redirect one of your domains/subdomains to another address or if you would like to use customized error pages. Our platform shall also permit you to set the PHP version which an Internet site will use by putting an .htaccess file within its root folder, no matter if your account as a whole uses a different version.