With an .htaccess file, you shall determine how the server that deals with the requests to your web sites should act in various occasions. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next depends on the content of the file. For instance, you may block a particular IP address from opening the Internet site, so the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server may redirect the visitor to the new web address. You may also use customized error pages or protect any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven apps, including Joomla, WordPress and Drupal, use an .htaccess file to operate efficiently.
.htaccess Generator in Website Hosting
When you acquire any of our website hosting packages, you can benefit from our intuitive .htaccess generator tool, that is part of the Hepsia CP. You shall not need to know what syntax the different directives in this kind of a file must have, as our tool is easy to use and you'll only have to check boxes or input URLs, so you can easily use an .htaccess file even if you have never had a web hosting account before. Our .htaccess generator provides a large amount of options - you may 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 of your Internet sites.
.htaccess Generator in Semi-dedicated Servers
If you start a semi-dedicated server account with our company, you shall be able to use our potent, albeit simple-to-use .htaccess generator tool, that is provided with the Hepsia hosting Control Panel. You may choose the folder in which the file will be created and after that you'll simply need to select a checkbox next to every single option that you would like to use - it is as easy as that. If you need to set up URL redirection or to set custom made error pages for any of your sites, you'll need to type in a web address, but you won't need to enter any special code at any time, so you can use our tool even if you do not have previous experience. Because our advanced hosting platform supports a number of versions of PHP, you'll also be able to select the version that any site shall use, even if it isn't like the one selected for the account in its entirety.