With an .htaccess file, you can specify how the web server which addresses the requests to your websites have to act in various situations. This is a text file with directives that are performed when an individual tries to open your Internet site and what happens next will depend on the content of the file. As an example, you could block a certain IP address from opening the Internet site, so the server will decline your visitor’s request, or you can forward your domain to another URL, so the server may redirect the visitor to the new web address. You could also use tailor-made error pages or secure any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, including WordPress, Drupal and Joomla, use an .htaccess file to operate properly.
.htaccess Generator in Shared Hosting
If you would like to use any of the functionalities which an .htaccess file offers, but you have never dealt with this sort of matters before, you need to use the .htaccess generator tool included with all of our shared hosting solutions. The tool is part of our in-house built Hepsia Control Panel and it will offer you an uncomplicated and user-friendly means to set up an .htaccess file in any folder which you have created inside the account. Quite a few options will be available with checkboxes, so you should only choose the one which you need and eventually enter a URL - if you are using the file to forward a domain or to set customized error pages for each of your Internet sites. Because our cloud platform supports a number of different PHP versions, you will also be able to set any of these versions for any of your websites regardless if it's different from the version set for your website hosting account as a whole.