With an .htaccess file, you shall define how the web server that handles the requests to your web sites have to act in different occasions. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next depends on the content of the file. For instance, you could block a particular IP address from opening the site, and the server will decline your visitor’s request, or you can redirect your domain to an alternative URL, so the server will direct the visitor to the new web address. You can also use custom-made error pages or protect any part of your site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, such as WordPress, Drupal and Joomla, use an .htaccess file to work efficiently.

.htaccess Generator in Shared Hosting

If you purchase any of our shared hosting solutions, you can benefit from our intuitive .htaccess generator tool, that is part of the Hepsia CP. You won't need to know what syntax the various directives in this sort of a file should have, since our tool is very simple to use and you will only have to check boxes or type in URLs, so you can certainly use an .htaccess file even if you have never had an Internet hosting account before. Our .htaccess generator provides a lot of options - you could 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, plus much more. You'll even be able to set a different PHP version for each one of your Internet sites.

.htaccess Generator in Semi-dedicated Servers

The semi-dedicated servers that we provide come with 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 too experienced. The tool is built into the Hepsia CP and has the same intuitive interface. If you'd like to use any of the options that may be enabled with an .htaccess file, you just need to check the box next to it within the list that you shall find when you open the tool. You can also choose in which directory of your account the file shall be created and you shall be ready. An .htaccess file could also be used to set a PHP version for a specific website that is different from the version which the account itself uses. Should you have any problems, we have comprehensive help articles and educational videos that will reveal to you first-hand how to enable any option that's available in the tool.