With an .htaccess file, you shall specify how the web server that deals with the requests to your Internet sites must act in different scenarios. This is a text file with directives that are carried out when someone tries to open your site and what happens next is determined by the content of the file. As an illustration, you may block a particular IP address from accessing the site, which means that the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server may redirect the visitor to the new web address. You can also use custom-made error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, including WordPress, Joomla and Drupal, use an .htaccess file to work efficiently.

.htaccess Generator in 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 need to use the .htaccess generator tool provided with all our hosting packages. The tool is part of our in-house built Hepsia CP and it'll provide you with an easy and intuitive means to create an .htaccess file inside any folder you have created inside the account. Quite a few options will be available with checkboxes, so you should only select the one you need and eventually type in a URL - if you are using the file to redirect a domain or to set custom error pages for any of your Internet sites. Since our cloud platform supports a number of PHP versions, you will also be able to set any of these versions for each of your websites even if it is different from the version set for your website hosting account as a whole.