With an .htaccess file, you can determine how the web server that addresses the requests to your websites have to act in different scenarios. This is a text file with directives that are executed when someone tries to open your site and what happens next will depend on the content of the file. As an example, you can block a particular IP address from opening the website, therefore the server will decline your visitor’s request, or you can redirect your domain name to some other URL, so the server may direct the visitor to the new web address. You may also use custom error pages or secure any part of your site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, such as Drupal, Joomla and WordPress, use an .htaccess file to operate correctly.
.htaccess Generator in Shared Website Hosting
If you wish to use any of the features which an .htaccess file provides, but you haven't dealt with such matters before, you should use the .htaccess generator tool offered with our shared website hosting packages. The tool is part of our in-house built Hepsia Control Panel and it will provide you with an easy and intuitive means to create an .htaccess file within any folder which you have created within the account. A lot of options shall be available with checkboxes, so you should only choose the one that you need and eventually enter a URL - if you are using the file to forward a domain or to set custom made error pages for each of your Internet sites. Because our cloud platform supports a variety of PHP versions, you will also be able to set any of these versions for any of your sites even when it is different from the version set for your Internet hosting account as a whole.
.htaccess Generator in Semi-dedicated Servers
The semi-dedicated plans which we provide feature an efficient, but easy-to-use .htaccess generator tool, that will provide you with the chance to use such a file for any purpose even when you are not very experienced. The tool is built into the Hepsia CP and has the same intuitive interface. If you'd like to use any of the options which can be enabled through an .htaccess file, you just need to check the box next to it inside the list which you'll find when you open the tool. You can even pick in which directory of your account the file shall be created and you will be ready. An .htaccess file can be used to set a PHP version for a particular site which is different from the version which the account itself employs. If you have any troubles, we have thorough help articles and video lessons that will explain to you first-hand how to activate any option that is available inside the tool.