With an .htaccess file, you'll specify how the web server that handles the requests to your websites should act in different situations. This is a text file with directives that are carried out when an individual tries to open your Internet site and what happens next will depend on the content of the file. For example, you could block a certain IP address from accessing the website, which means that the server will decline the visitor’s request, or you can forward your domain name to another URL, so the server may redirect the visitor to the new web address. You may also use custom error pages or protect any part of your website with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, such as WordPress, Joomla and Drupal, use an .htaccess file to operate correctly.

.htaccess Generator in Shared Web Hosting

If you get any of our shared web hosting solutions, you can reap the benefits of our intuitive .htaccess generator tool, which is part of the Hepsia CP. You'll not need to know what syntax the different directives in this type of a file must have, as our tool is very simple to use and you'll only have to check boxes or enter URLs, so you can use an .htaccess file even when you have never had a hosting account before. Our .htaccess generator gives a wide range of options - you could block IP addresses, set the first page that loads when someone opens your site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You'll even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Servers

The Linux semi-dedicated hosting plans which we offer you include an efficient, but easy-to-work-with .htaccess generator tool, which will give you the opportunity to use this type of a file for any purpose even when you are not experienced. The tool is included in the Hepsia CP and has the same intuitive interface. If you'd like to use any of the options which could be activated through an .htaccess file, you just need to check the box next to it in the list which you'll find when you open the tool. You can even choose in which directory of your account the file shall be created and you will be set. An .htaccess file could also be used to set a PHP version for a specific Internet site which is different from the version that the account itself takes advantage of. Should you have any problems, we have comprehensive help articles and educational videos that will demonstrate first-hand how to enable any option that's available in the tool.