With an .htaccess file, you shall determine how the server which addresses the requests to your Internet sites must act in a variety of cases. This is a text file with directives that are carried out when someone tries to open your Internet site and what happens next depends on the content of the file. For instance, you may block a certain IP address from accessing your website, and the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server will redirect the visitor to the new web address. You can also use custom-made error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, such as Joomla, Drupal and WordPress, use an .htaccess file to work properly.
.htaccess Generator in Cloud Web Hosting
When you acquire any of our cloud web hosting plans, you can reap the benefits of our user-friendly .htaccess generator tool, that's part of the Hepsia CP. You won't need to know what syntax the different directives in this kind of a file must have, since our tool is super easy to use and you'll 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 substantial amount of options - you could block IP addresses, set the first page that loads when someone opens your Internet site, set up password protection, forward 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 that we provide feature an efficient, but time and effort saving .htaccess generator tool, which will provide you with the opportunity to use this sort of a file for any purpose even if you are not very experienced. The tool is integrated into the Hepsia Control Panel and has the same intuitive interface. If you'd like to use some of the options which could be enabled through an .htaccess file, you just need to check the box next to it in the list that you'll find when you open the tool. Also you can decide in which directory of your account the file shall be created and you will be ready. An .htaccess file can also be used to set a PHP version for a particular Internet site that differs from the version that the account itself uses. If you have any troubles, we have comprehensive help articles and video tutorials that shall explain to you first-hand how to enable any option which is available within the tool.