With an .htaccess file, you can specify how the server which addresses the requests to your web sites should act a number of cases. This is a text file with directives that are carried out when an individual tries to open your website and what happens next will depend on the content of the file. For example, you may block a particular IP address from opening the Internet site, therefore the server will decline the visitor’s request, or you can redirect your domain name to another URL, so the server will direct the visitor to the new web address. You can also use tailor-made error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, such as Drupal, Joomla and WordPress, use an .htaccess file to operate correctly.
.htaccess Generator in Shared Hosting
When you get any of our shared hosting plans, you can take full advantage of our user-friendly .htaccess generator tool, that's part of the Hepsia Control Panel. You will not need to know what syntax the various directives in this type of a file must have, since our tool is super easy to use and you shall only have to check boxes or type URLs, so you can use an .htaccess file even if you have never had a hosting account before. Our .htaccess generator provides a substantial amount of options - you may block IP addresses, set the first page that loads when a person opens your site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You'll 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 which we offer you come with a powerful, but easy-to-use .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 very experienced. The tool is integrated into the Hepsia CP and has the same intuitive interface. If you want to use some of the options that may be activated with an .htaccess file, you just have to check the box next to it in the list which you shall find when you open the tool. You can also pick in which directory of your account the file will be created and you'll be set. An .htaccess file can also be used to set a PHP version for a certain website that is different from the version that the account itself uses. If you have any issues, we have comprehensive help articles and video lessons which will show you first-hand how to activate any option available inside the tool.