With an .htaccess file, you shall define how the web server which deals with the requests to your Internet sites must act in various occasions. This is a text file with directives that are carried out when somebody tries to open your website and what happens next will depend on the content of the file. For instance, you could block a particular IP address from opening the site, therefore the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server will direct 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 inside the correct folder. Many popular script-driven applications, including Joomla, Drupal and WordPress, use an .htaccess file to operate properly.
.htaccess Generator in Shared Web Hosting
If you acquire any of our shared web hosting packages, you can benefit from our intuitive .htaccess generator tool, which is part of the Hepsia CP. You'll not need to know what syntax the different directives in this sort of a file must have, since our tool is very simple to use and you'll only have to check boxes or type in URLs, so you can certainly use an .htaccess file even when you have never had a hosting account before. Our .htaccess generator offers a large amount of options - you may block IP addresses, set the first page that loads when a person 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 shall even be able to set a different PHP version for each one of your sites.
.htaccess Generator in Semi-dedicated Hosting
If you open a semi-dedicated server account with us, you shall be able to use our efficient, albeit simple-to-use .htaccess generator tool, which is provided with the Hepsia hosting Control Panel. You could pick the folder in which the file shall be created and after that you'll only need to select a checkbox next to every single option that you would like to use - it is as basic as that. If you need to set up URL forwarding or to set custom error pages for any of your sites, you'll need to enter a web address, but you won't need to input any special code at any time, so you can easily use our tool even if you do not have previous experience. Since our sophisticated Internet hosting platform supports a number of versions of PHP, you will also be able to choose the version that any website shall use, even if it is not identical to the one selected for the account in general.