With an .htaccess file, you shall determine how the server that handles the requests to your web sites have to act in a variety of cases. This is a text file with directives that are performed when somebody tries to open your site and what happens next is determined by the content of the file. As an example, you could block a certain IP address from accessing the site, and the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server may redirect the visitor to the new web address. You can also use custom error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven applications, such as WordPress, Drupal and Joomla, use an .htaccess file to work properly.

.htaccess Generator in Hosting

If you wish to use any of the functions which an .htaccess file provides, but you've never dealt with this type of matters before, you can use the .htaccess generator tool provided with all our hosting plans. The tool is part of our in-house built Hepsia CP and it shall give you an easy and user-friendly means to create an .htaccess file in any folder which you have created in the account. A lot of options will be available with checkboxes, so you should only select the one that you need and eventually type a URL - if you are using the file to forward a domain or to set personalized error pages for any of your sites. Because our cloud platform supports many different PHP versions, you shall 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.