With an .htaccess file, you'll define how the web server which deals with the requests to your web sites have to act a number of cases. This is a text file with directives that are carried out when an individual tries to open your site and what happens next will depend on the content of the file. As an illustration, you can block a specific IP address from opening the site, and the server will decline the visitor’s request, or you can forward your domain name to an alternative URL, so the server may direct the visitor to the new web address. You can also use personalized error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to function properly.

.htaccess Generator in Shared Website Hosting

If you obtain any of our shared website hosting packages, you can benefit from our user-friendly .htaccess generator tool, which is part of the Hepsia CP. You'll not need to know what syntax the many directives in this sort of a file need to have, as our tool is easy to use and you'll only need to check boxes or enter URLs, so you can use an .htaccess file even if you have never had a hosting account before. Our .htaccess generator provides a lot of options - you are able to block IP addresses, set the first page that loads when an individual opens your website, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much 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 open a semi-dedicated server account with us, you will be able to use our powerful, albeit simple-to-use .htaccess generator tool, that's provided with the Hepsia hosting CP. You can choose the folder where the file shall be created and after that you'll simply need to select a checkbox next to each and every option you want to use - it's as basic as that. If you want to set up URL redirection or to set custom error pages for each of your Internet sites, you shall also have to enter a web address, but you won't have to enter any special code at any time, so you can use our tool even if you have zero previous experience. Because our innovative website hosting platform supports a number of versions of PHP, you'll also be able to pick the version that any site shall use, even if it's not like the one selected for the account in its entirety.