An .htaccess file is a text file that contains directives that tell a web server how to operate in certain events. It must be placed in the folder where these directives should be performed. A lot of script-driven applications employ this sort of a file to function correctly - WordPress and Joomla, for example. You can use this type of a file with custom content as well and do a wide range of things - block an IP address, an entire network or particular sites from accessing your site, set custom made error pages which will show up rather than the 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 plus more. With an .htaccess file, you'll have much better control over your web presence.

.htaccess Generator in Web Hosting

When you obtain any of our web hosting packages, you can reap the benefits of our easy-to-use .htaccess generator tool, which is part of the Hepsia CP. You will not need to know what syntax the many directives in such a file should have, because our tool is easy to use and you will only have to check boxes or enter URLs, so you can easily use an .htaccess file even in case you have never had a hosting account before. Our .htaccess generator gives a lot of options - you can block IP addresses, set the first page that loads when a person opens your website, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You will even be able to set a different PHP version for each of your websites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans offer an .htaccess generator tool, which is simple enough to be used by individuals with no previous experience. You'll be able to access it via your Hepsia CP and use an easy-to-use interface to activate any option you want. After you choose the folder where our system will create the .htaccess file, you simply need to check the boxes beside the options you want to enable, then save the changes and you will be set. The only thing you shall have to input manually will be a URL - if you'd like to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you want to use personalized error pages. Our platform shall also allow you to set the PHP version which a site will use by putting an .htaccess file in its root folder, even when your account in its entirety uses a different version.