With an .htaccess file, you will define how the server which handles the requests to your web sites must act in different scenarios. This is a text file with directives that are performed when an individual tries to open your website and what happens next is determined by the content of the file. For example, you could block a specific IP address from accessing your website, therefore the server will decline your visitor’s request, or you can redirect your domain name to a different URL, so the server will redirect the visitor to the new web address. Also you can use tailor-made error pages or preserve any part of your website with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, such as Joomla, WordPress and Drupal, use an .htaccess file to operate efficiently.
.htaccess Generator in Shared Hosting
If you want to use any of the features that an .htaccess file provides, but you've never dealt with this type of matters before, you need to use the .htaccess generator tool provided with all our shared hosting solutions. The tool is part of our in-house built Hepsia CP and it will provide you with a simple and user-friendly means to create an .htaccess file in any folder you have created inside the account. Many options shall be available with checkboxes, so you should only choose the one that you need and eventually input a URL - if you are using the file to forward a domain or to set customized error pages for each of your Internet 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 sites regardless if it is different from the version set for your Internet hosting account as a whole.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server packages come with an .htaccess generator tool, which is easy enough to be used by individuals with no previous experience. You'll be able to access it through your Hepsia CP and use an intuitive interface to activate any option you need. Once you pick the folder in which our system will set up the .htaccess file, you only need to check the boxes beside the options which you want to enable, then save the changes and you shall be all set. The one thing you shall have to enter manually shall be a URL - if you'd like to use the .htaccess file to forward one of your domains/subdomains to another address or if you would like to use custom error pages. Our platform shall also allow you to set the PHP version that a website will use by adding an .htaccess file inside its root folder, even if your account in its entirety uses a different version.