With an .htaccess file, you will define how the server which addresses the requests to your Internet sites must act in a variety of scenarios. This is a text file with directives that are executed when somebody tries to open your Internet site and what happens next depends on the content of the file. As an illustration, you could block a particular IP address from opening your website, therefore the server will decline the visitor’s request, or you can forward your domain to some other URL, so the server will redirect the visitor to the new web address. You could also use personalized error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, like Joomla, Drupal and WordPress, use an .htaccess file to work properly.

.htaccess Generator in Shared Hosting

When you get any of our shared hosting plans, you can reap the benefits of our intuitive .htaccess generator tool, that's part of the Hepsia CP. You will not need to know what syntax the various directives in this sort of a file need to have, since our tool is super easy to use and you shall 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 gives a number 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 much more. You shall even be able to set a different PHP version for each one of your sites.

.htaccess Generator in Semi-dedicated Servers

The semi-dedicated servers that we provide feature a powerful, but easy-to-work-with .htaccess generator tool, which will provide you with the option to use this type of a file for any purpose even when you are not too experienced. The tool is integrated into the Hepsia CP and has the same intuitive interface. If you'd like to use any of the options that could be enabled with an .htaccess file, you just need to check the box next to it inside the list that you will find when you open the tool. You can even pick in which directory of your account the file will be created and you will be good to go. An .htaccess file could also be used to set a PHP version for a particular website which differs from the version which the account itself employs. If you have any troubles, we have comprehensive help articles and instructional videos that shall explain to you first-hand how to enable any option available in the tool.