With an .htaccess file, you shall determine how the web server which addresses the requests to your web sites should act in various scenarios. This is a text file with directives that are performed when an individual tries to open your Internet site and what happens next will depend on the content of the file. As an example, you could block a specific IP address from opening the Internet site, therefore the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server may direct the visitor to the new web address. You may also use custom error pages or protect any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, like WordPress, Joomla and Drupal, use an .htaccess file to work properly.
.htaccess Generator in Hosting
If you would like to use any of the features that an .htaccess file offers, but you have not dealt with this type of matters before, you can use the .htaccess generator tool that comes with our hosting plans. The tool is part of our in-house built Hepsia Control Panel and it will provide you with an easy and user-friendly means to set up an .htaccess file inside any folder that you have created inside the account. Many options will be available with checkboxes, so you should only pick 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 any of your Internet sites. Considering that our cloud platform supports many different PHP versions, you shall also be able to set any of these versions for each of your Internet sites even when it is different from the version set for your website hosting account as a whole.
.htaccess Generator in Semi-dedicated Servers
The semi-dedicated servers that we provide feature an efficient, but time and effort saving .htaccess generator tool, which will provide you with the opportunity to use such a file for any purpose even if you're not too experienced. The tool is incorporated into the Hepsia Control Panel and has the same intuitive interface. If you would like to use any of the options which could be activated through an .htaccess file, you just need to check the box next to it in the list which you shall find when you open the tool. You can even choose in which directory of your account the file will be created and you will be set. An .htaccess file could also be used to set a PHP version for a given Internet site which is different from the version which the account itself employs. Should you have any issues, we have thorough help articles and video tutorials that will reveal to you first-hand how to enable any option available in the tool.