With an .htaccess file, you will determine how the server which handles the requests to your Internet sites should act in various cases. This is a text file with directives that are performed when somebody tries to open your site and what happens next depends on the content of the file. As an illustration, you may block a particular IP address from accessing the site, therefore the server will decline the visitor’s request, or you can forward your domain name to an alternative URL, so the server may direct the visitor to the new web address. You may also use customized error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, like Joomla, Drupal and WordPress, use an .htaccess file to work efficiently.

.htaccess Generator in Shared Website Hosting

If you purchase any of our shared website hosting solutions, you can benefit from our easy-to-use .htaccess generator tool, that's part of the Hepsia CP. You shall not need to know what syntax the many directives in such a file should have, because our tool is super easy to use and you will only need to check boxes or enter URLs, so you can certainly use an .htaccess file even in case you have never had an Internet hosting account before. Our .htaccess generator offers a substantial amount of options - you may block IP addresses, set the first page that loads when someone 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 shall even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Servers

The semi-dedicated hosting plans that we offer come with an efficient, but user-friendly .htaccess generator tool, which will give you the chance to use this type of a file for any purpose even when you are not very experienced. The tool is built into the Hepsia Control Panel and has the same intuitive interface. If you want to use any of the options which may be activated using an .htaccess file, you just have to check the box next to it inside the list that you'll 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 set. An .htaccess file can also be used to set a PHP version for a particular Internet site that is different from the version that the account itself employs. In case you have any difficulties, we have in-depth help articles and video lessons that shall reveal to you first-hand how to activate any option available within the tool.