With an .htaccess file, you shall specify how the server that handles the requests to your websites must act in a variety of cases. 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. As an example, you may block a particular IP address from accessing the Internet site, and the server will decline your visitor’s request, or you can redirect your domain name to another URL, so the server may direct the visitor to the new web address. You can also use tailor-made error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven applications, like Joomla, WordPress and Drupal, use an .htaccess file to operate correctly.
.htaccess Generator in Hosting
When you get any of our hosting plans, you can benefit from our intuitive .htaccess generator tool, that is part of the Hepsia CP. You'll not need to know what syntax the various directives in such a file need to have, because our tool is very easy to use and you will only need to check boxes or type in URLs, so you can easily use an .htaccess file even if you have never had a website 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 someone opens your site, create 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 of your websites.
.htaccess Generator in Semi-dedicated Hosting
All our Linux semi-dedicated hosting packages feature the sophisticated, yet easy-to-use Hepsia Control Panel, that includes our .htaccess generator tool. It shall allow you to create a system file inside any folder that you choose with only several clicks. Even if you are not tech-savvy, you'll be able to reap the benefits of all the features an .htaccess file features as our tool is very intuitive to use. There is also a list of all the options which you can enable and there will be a checkbox next to each and every one of them. Just select the options that you'd like to enable and eventually input a URL - if you're using the .htaccess file to redirect one URL to another or to set customized error pages. You will not have to type any code at any time. If required, you could use an .htaccess file to employ different versions of PHP for your websites, as a few versions are available simultaneously on our website hosting platform.