With an .htaccess file, you will define how the web server which manages the requests to your Internet sites should act in different occasions. This is a text file with directives that are executed when someone tries to open your Internet site and what happens next will depend on the content of the file. As an example, you can block a specific IP address from accessing your website, which means that the server will decline the visitor’s request, or you can forward your domain name to another URL, so the server will redirect the visitor to the new web address. You can also use customized error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, such as Joomla, Drupal and WordPress, use an .htaccess file to function correctly.
.htaccess Generator in Shared Website Hosting
If you would like to use any of the functions an .htaccess file provides, but you have never dealt with this type of matters before, you should use the .htaccess generator tool provided with our shared website hosting solutions. The tool is part of our in-house built Hepsia Control Panel and it shall offer you an uncomplicated and intuitive means to set up an .htaccess file inside any folder that you have created within the account. A lot of options shall be available with checkboxes, so you should only pick the one you need and eventually type a URL - if you are using the file to redirect a domain or to set personalized error pages for each of your sites. Considering that our cloud platform supports a number of PHP versions, you will also be able to set any of these versions for each of your Internet sites even if it's different from the version set for your website hosting account as a whole.
.htaccess Generator in Semi-dedicated Hosting
The Linux semi-dedicated packages that we provide feature a powerful, but time and effort saving .htaccess generator tool, which will provide you with the opportunity to use this sort of a file for any purpose even when you are not too experienced. The tool is incorporated into the Hepsia CP and has the same intuitive interface. If you want to use any of the options that can be activated through an .htaccess file, you just have to check the box next to it in the list which you will find when you open the tool. You can also select in which directory of your account the file shall be created and you will be good to go. An .htaccess file can also be used to set a PHP version for a specific website which differs from the version that the account itself takes advantage of. Should you have any troubles, we have thorough help articles and educational videos that shall demonstrate first-hand how to activate any option available in the tool.