With an .htaccess file, you shall determine how the server which addresses the requests to your Internet sites have to act in different cases. This is a text file with directives that are executed when someone tries to open your site and what happens next will depend on the content of the file. As an illustration, you may block a specific IP address from accessing the site, so the server will decline the visitor’s request, or you can forward your domain to some other URL, so the server will direct the visitor to the new web address. You could also use personalized error pages or secure any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, including Drupal, Joomla and WordPress, use an .htaccess file to function correctly.
.htaccess Generator in Hosting
If you wish to use any of the functions that 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 plans. The tool is part of our in-house built Hepsia CP and it will provide you with an easy and intuitive means to set up an .htaccess file within any folder that you've created inside the account. Many options will be available with checkboxes, so you should only select the one you need and eventually type in a URL - if you are using the file to redirect a domain or to set custom error pages for each of your Internet sites. Because our cloud platform supports a number of PHP versions, you will also be able to set any of these versions for any of your sites even when it's different from the version set for your website hosting account as a whole.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server packages come with an .htaccess generator tool, that is easy enough to be used by individuals without previous experience. You will be able to access it through your Hepsia CP and benefit from an easy-to-use interface to activate any option you'd like. When you pick the folder where our system will create the .htaccess file, you simply need to check the boxes beside the options that you want to enable, then save the changes and you'll be good to go. The one thing you will have to enter manually shall be a URL - if you want to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you want to use personalized error pages. Our platform shall also permit you to set the PHP version which a website will use by adding an .htaccess file within its root folder, regardless if your account as a whole uses a different version.