With an .htaccess file, you can determine how the web server which addresses the requests to your Internet sites must act in a variety of cases. This is a text file with directives that are carried out when someone tries to open your Internet site and what happens next depends on the content of the file. For instance, you can block a specific IP address from accessing the Internet site, which means that the server will decline your visitor’s request, or you can forward your domain name to some other URL, so the server will direct the visitor to the new web address. You could also use custom error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to work efficiently.

.htaccess Generator in Cloud Hosting

If you wish to use any of the features which an .htaccess file offers, but you haven't dealt with this sort of matters before, you need to use the .htaccess generator tool included with all of our cloud hosting plans. The tool is part of our in-house built Hepsia Control Panel and it will offer you an uncomplicated and user-friendly means to set up an .htaccess file inside any folder that you've created within the account. Quite a few options will 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 personalized error pages for each of your sites. Since our cloud platform supports a number of PHP versions, you'll be able to set any of these versions for each of your websites even when it's different from the version set for your web hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server solutions come with an .htaccess generator tool, that's simple enough to be used by people without previous experience. You will be able to access it using your Hepsia CP and employ a user-friendly interface to activate any option you'd like. After you choose the folder where our system will create the .htaccess file, you simply need to check the boxes next to the options which you want to activate, then save the changes and you will be set. The one thing you shall have to enter manually shall be a URL - if you need to use the .htaccess file to forward one of your domains/subdomains to another address or if you would like to use personalized error pages. Our platform shall also permit you to set the PHP version that a site will use by putting an .htaccess file in its root folder, even if your account in general uses a different version.