With an .htaccess file, you'll determine how the web server which addresses the requests to your web sites should act in various occasions. This is a text file with directives that are carried out when someone tries to open your Internet site and what happens next will depend on the content of the file. For instance, you could block a specific IP address from accessing the Internet site, so the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server will direct the visitor to the new web address. You could also use custom error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, including Joomla, WordPress and Drupal, use an .htaccess file to function properly.

.htaccess Generator in Shared Web Hosting

If you obtain any of our shared web hosting packages, you can benefit from our intuitive .htaccess generator tool, that is part of the Hepsia CP. You shall not need to know what syntax the many directives in this sort of a file need to have, as our tool is very easy to use and you shall only have to check boxes or input URLs, so you can easily use an .htaccess file even in case you have never had a website 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, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You'll even be able to set a different PHP version for each of your sites.

.htaccess Generator in Semi-dedicated Servers

All our semi-dedicated servers feature the innovative, albeit easy-to-use Hepsia CP, which includes our .htaccess generator tool. It will allow you to create a system file inside any folder of your choice with just a few mouse clicks. Even if you're not tech-savvy, you'll be able to take advantage of all the features an .htaccess file features as our tool is very intuitive to use. There is also a list of all the options that you can activate and there shall be a checkbox next to each of them. Just choose the options that you want to activate and eventually type a URL - if you are using the .htaccess file to forward one URL to another or to set custom error pages. You'll not have to type in any code at any time. If necessary, you may use an .htaccess file to use different versions of PHP for your Internet sites, because many versions are available simultaneously on our website hosting platform.