With an .htaccess file, you can specify how the web server that addresses the requests to your websites should act in different situations. This is a text file with directives that are executed when someone tries to open your site and what happens next is determined by the content of the file. For example, you may block a specific IP address from accessing the website, therefore the server will decline the visitor’s request, or you can forward your domain name to a different URL, so the server will direct the visitor to the new web address. You may also use customized error pages or secure any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, such as Drupal, Joomla and WordPress, use an .htaccess file to work correctly.

.htaccess Generator in Web Hosting

If you would like to use any of the functionalities which an .htaccess file provides, but you have never dealt with this kind of matters before, you can use the .htaccess generator tool offered with our web hosting packages. The tool is part of our in-house built Hepsia CP and it will provide you with a simple and intuitive means to set up an .htaccess file inside any folder which you have created inside the account. Many options shall be available with checkboxes, so you should only pick the one which you need and eventually type in a URL - if you are using the file to forward a domain or to set custom made error pages for each of your sites. As our cloud platform supports many different PHP versions, you'll also be able to set any of these versions for any of your websites even when it is different from the version set for your Internet hosting account as a whole.