With an .htaccess file, you can determine how the web server that deals with the requests to your web sites should act in various occasions. This is a text file with directives that are executed when someone tries to open your website and what happens next depends on the content of the file. For example, you could block a specific IP address from opening the Internet site, and the server will decline your visitor’s request, or you can redirect your domain name to an alternative URL, so the server may direct the visitor to the new web address. You can also use tailor-made error pages or protect any part of your website with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven applications, such as Joomla, Drupal and WordPress, use an .htaccess file to function properly.

.htaccess Generator in Web Hosting

If you wish to use any of the functionalities an .htaccess file offers, but you have never dealt with this type of matters before, you should use the .htaccess generator tool that comes with all our web hosting plans. The tool is part of our in-house built Hepsia CP and it will give you an easy and user-friendly means to create an .htaccess file inside any folder which you have created within the account. Many options will be available with checkboxes, so you should only select the one which you need and eventually enter a URL - if you are using the file to redirect a domain or to set custom error pages for each of your websites. Since our cloud platform supports a variety of PHP versions, you will also be able to set any of these versions for each of your Internet sites even if it is different from the version set for your website hosting account as a whole.