With an .htaccess file, you shall define how the server which deals with the requests to your websites have to act a number of cases. This is a text file with directives that are carried out when someone tries to open your website and what happens next will depend on the content of the file. For example, you could block a certain IP address from accessing the website, and the server will decline your visitor’s request, or you can forward your domain name to an alternative URL, so the server will direct the visitor to the new web address. You may also use tailor-made error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, such as Drupal, Joomla and WordPress, use an .htaccess file to operate efficiently.
.htaccess Generator in Cloud Website Hosting
When you obtain any of our cloud website hosting plans, you can take advantage of our easy-to-use .htaccess generator tool, which is part of the Hepsia Control Panel. You will 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 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 number of options - you could block IP addresses, set the first page that loads when someone opens your website, set up password protection, redirect 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
If you create a semi-dedicated server account with us, you'll be able to use our powerful, albeit simple-to-use .htaccess generator tool, which is provided with the Hepsia hosting Control Panel. You could select the folder where the file shall be created and after that you'll only need to select a checkbox next to every single option that you'd like to use - it's as basic as that. If you need to set up URL redirection or to set personalized error pages for any of your sites, you'll also need to input a web address, but you will not need to input any special code at any time, so you can use our tool even if you have no previous experience. Because our revolutionary Internet hosting platform supports a number of different versions of PHP, you shall also be able to select the version that any site will use, even if it is not identical to the one selected for the account in general.