With an .htaccess file, you will determine how the server which handles the requests to your Internet sites must act in different occasions. This is a text file with directives that are performed when an individual tries to open your site and what happens next will depend on the content of the file. For instance, you could block a particular IP address from opening your website, and the server will decline your visitor’s request, or you can redirect your domain to a different URL, so the server will direct the visitor to the new web address. Also you can use custom-made error pages or shield any part of your site with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven applications, like WordPress, Joomla and Drupal, use an .htaccess file to function efficiently.

.htaccess Generator in Website Hosting

When you obtain any of our website hosting solutions, you can benefit from our easy-to-use .htaccess generator tool, that is part of the Hepsia Control Panel. You'll not need to know what syntax the various directives in this kind of a file must have, as our tool is a breeze to use and you will only have to check boxes or type in URLs, so you can easily use an .htaccess file even in case you have never had an Internet hosting account before. Our .htaccess generator gives a large amount of options - you may block IP addresses, set the first page that loads when somebody opens your website, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You will even be able to set a different PHP version for each of your sites.

.htaccess Generator in Semi-dedicated Servers

The semi-dedicated servers which we provide come with a powerful, but user-friendly .htaccess generator tool, that will provide you with the option to use this kind of a file for any purpose even if you're not too experienced. The tool is included in the Hepsia CP and has the same intuitive interface. If you would like to use some of the options that can be activated with an .htaccess file, you simply need to check the box next to it in the list which you shall find when you open the tool. You can also select in which directory of your account the file shall be created and you'll be set. An .htaccess file could also be used to set a PHP version for a given site that differs from the version that the account itself takes advantage of. Should you have any difficulties, we have comprehensive help articles and educational videos which will reveal to you first-hand how to activate any option that is available inside the tool.