With an .htaccess file, you shall define how the server which addresses the requests to your Internet sites should act in various cases. This is a text file with directives that are carried out when someone tries to open your site and what happens next depends on the content of the file. As an illustration, you could block a certain IP address from accessing the Internet site, which means that the server will decline your 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 can also use customized error pages or preserve 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, Drupal and WordPress, use an .htaccess file to operate efficiently.

.htaccess Generator in Web Hosting

If you want to use any of the features that an .htaccess file offers, but you haven't dealt with this sort of matters before, you need to use the .htaccess generator tool offered with all our web hosting packages. The tool is part of our in-house built Hepsia Control Panel and it'll give you an easy and user-friendly means to create an .htaccess file within any folder you have created within the account. Many options will be available with checkboxes, so you should only choose the one you need and eventually input a URL - if you are using the file to forward a domain or to set personalized error pages for each of your sites. Because our cloud platform supports a variety of PHP versions, you will also be able to set any of these versions for each of your sites regardless if it's different from the version set for your web hosting account as a whole.