With an .htaccess file, you will specify how the server that handles the requests to your Internet sites must act a number of cases. This is a text file with directives that are executed when somebody tries to open your website and what happens next depends on the content of the file. For example, you could block a particular IP address from opening the Internet site, and the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server may redirect the visitor to the new web address. You may also use custom-made error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, like WordPress, Joomla and Drupal, use an .htaccess file to work properly.
.htaccess Generator in Hosting
If you wish to use any of the functions an .htaccess file provides, but you have never dealt with such matters before, you can use the .htaccess generator tool included with all of our hosting packages. 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 within any folder which you have created in the account. Many options will be available with checkboxes, so you should only select the one you need and eventually input 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 different PHP versions, you will also be able to set any of these versions for any of your sites even if it's different from the version set for your Internet hosting account as a whole.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server packages offer an .htaccess generator tool, that is simple enough to be used by people with zero previous experience. You will be able to access it using your Hepsia CP and benefit from a user-friendly interface to enable any option you need. After you select the folder where our system will create the .htaccess file, you just need to check the boxes next to the options you want to activate, then save the changes and you will be good to go. The one thing you will have to input by hand shall be a URL - if you need to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you want to use custom error pages. Our platform shall also allow you to set the PHP version that an Internet site will use by placing an .htaccess file within its root folder, even if your account in general uses a different version.