An .htaccess file is a text file that incorporates directives that tell a server how to operate in particular situations. It needs to be placed in the folder where these directives should be carried out. Numerous script-driven apps use such a file to function properly - WordPress and Joomla, for example. You can use this kind of a file with custom content too and do a lot of things - block an IP address, an entire network or certain sites from accessing your site, set custom made error pages that will be displayed instead of the server-generated ones if a visitor encounters some error on the website, direct a domain or a subdomain to a new web address, create a password-protected area and more. With an .htaccess file, you will have significantly better control over your world-wide web presence.

.htaccess Generator in Shared Hosting

When you obtain any of our shared hosting packages, you can benefit from our user-friendly .htaccess generator tool, that is part of the Hepsia Control Panel. You shall not need to know what syntax the different directives in this kind of a file must have, as our tool is a breeze to use and you will only need to check boxes or input URLs, so you can use an .htaccess file even when you have never had a hosting account before. Our .htaccess generator provides a lot of options - you can block IP addresses, set the first page that loads when somebody opens your site, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You will even be able to set a different PHP version for each of your sites.

.htaccess Generator in Semi-dedicated Servers

All our semi-dedicated plans feature the advanced, albeit easy-to-use Hepsia CP, that incorporates our .htaccess generator tool. It shall enable you to create a system file within any folder of your choice with only a few clicks. Even if you are not tech-savvy, you can reap the benefits of all the functions that an .htaccess file offers since our tool is extremely intuitive to use. You'll find a list of all the options that you can activate and there will be a checkbox next to each and every one of them. Just select the options which you want to enable and eventually enter a URL - if you're using the .htaccess file to redirect one URL to another or to set custom error pages. You'll not have to type any code at any time. If needed, you can use an .htaccess file to employ different versions of PHP for your websites, because a number of versions are available simultaneously on our website hosting platform.