With an .htaccess file, you shall define how the server that handles the requests to your web sites have to act in different cases. This is a text file with directives that are executed when someone tries to open your website and what happens next will depend on the content of the file. For example, you may block a certain IP address from opening the Internet site, therefore the server will decline the visitor’s request, or you can forward your domain to some other URL, so the server will direct the visitor to the new web address. You can also use tailor-made error pages or secure 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, such as WordPress, Joomla and Drupal, use an .htaccess file to operate efficiently.

.htaccess Generator in Shared Web Hosting

If you would like to use any of the features which an .htaccess file offers, but you have never dealt with this sort of matters before, you need to use the .htaccess generator tool provided with our shared web hosting packages. The tool is part of our in-house built Hepsia CP and it shall offer you a simple and intuitive means to create an .htaccess file within any folder you have created within the account. A lot of options will be available with checkboxes, so you should only pick the one you need and eventually input a URL - if you are using the file to forward a domain or to set custom made error pages for any of your websites. Since our cloud platform supports a number of PHP versions, you'll also be able to set any of these versions for each of your websites even if it's different from the version set for your web hosting account as a whole.