With an .htaccess file, you'll determine how the web server that manages the requests to your websites should act a number of situations. This is a text file with directives that are executed when somebody tries to open your site and what happens next depends on the content of the file. As an illustration, you could block a particular IP address from accessing the Internet site, so the server will decline the visitor’s request, or you can redirect your domain name to an alternative URL, so the server will redirect the visitor to the new web address. You can also use custom 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 apps, like Joomla, Drupal and WordPress, use an .htaccess file to work correctly.
.htaccess Generator in Web Hosting
If you wish to use any of the features which an .htaccess file offers, but you've never dealt with this kind of matters before, you need to use the .htaccess generator tool that comes with all of our web hosting plans. The tool is part of our in-house built Hepsia CP and it will provide you with a simple and intuitive means to create an .htaccess file in any folder you have created within the account. A lot of options will be available with checkboxes, so you should only select the one you need and eventually type a URL - if you are using the file to forward a domain or to set custom error pages for any of your sites. Since our cloud platform supports a number of PHP versions, you'll be able to set any of these versions for any of your sites regardless if it is different from the version set for your website hosting account as a whole.
.htaccess Generator in Semi-dedicated Hosting
The Linux semi-dedicated hosting packages which we offer you come with a powerful, but easy-to-work-with .htaccess generator tool, that will give you the option to use this sort of a file for any purpose even when you are not too experienced. The tool is included in the Hepsia Control Panel and has the same intuitive interface. If you want to use some of the options that can be activated through an .htaccess file, you just have to check the box next to it within the list that you'll find when you open the tool. You may also pick in which directory of your account the file shall be created and you'll be good to go. An .htaccess file can also be used to set a PHP version for a given site that differs from the version which the account itself employs. In case you have any difficulties, we have detailed help articles and video tutorials that will show you first-hand how to activate any option available within the tool.