An .htaccess file is a text file that includes directives that tell a server how to behave in certain occasions. It should be positioned in the folder in which these directives should be executed. Numerous script-driven apps employ this kind of a file to work correctly - WordPress and Joomla, in particular. You can use this type of a file with custom content too and do a lot of things - block an IP address, an entire network or particular websites from accessing your site, set customized error pages that shall show up rather than server-generated ones in case a visitor encounters some error on the site, direct a domain or a subdomain to a new web address, set up a password-protected area and much more. With an .htaccess file, you will have significantly better control over your world-wide web presence.

.htaccess Generator in Cloud Hosting

When you acquire any of our cloud hosting solutions, you can take full advantage of our intuitive .htaccess generator tool, which is part of the Hepsia CP. You'll not need to know what syntax the various directives in such a file should have, because our tool is easy to use and you'll only need to check boxes or type in URLs, so you can easily use an .htaccess file even in case you have never had a web hosting account before. Our .htaccess generator offers a lot of options - you can block IP addresses, set the first page that loads when someone opens your site, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You shall even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server packages feature an .htaccess generator tool, that's easy enough to be used by individuals without previous experience. You'll be able to access it through your Hepsia Control Panel and use an easy-to-use interface to activate any option you would like. When you choose the folder in which our system will create the .htaccess file, you simply need to check the boxes beside the options that you would like to activate, then save the changes and you'll be good to go. The one thing you'll have to input by hand will be a URL - if you'd like to use the .htaccess file to redirect one of your domains/subdomains to another address or if you want 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 inside its root folder, even when your account in general uses a different version.