With an .htaccess file, you will define how the server which manages the requests to your web sites have to act in different cases. This is a text file with directives that are performed when an individual tries to open your website and what happens next depends on the content of the file. As an example, you could block a specific IP address from accessing the site, and the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server may direct the visitor to the new web address. You may also use tailor-made error pages or shield any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, such as WordPress, Drupal and Joomla, use an .htaccess file to operate efficiently.
.htaccess Generator in Hosting
If you would like to use any of the features that an .htaccess file offers, but you have never dealt with this type of matters before, you should use the .htaccess generator tool included with our hosting solutions. The tool is part of our in-house built Hepsia CP and it shall provide you with a simple and user-friendly means to create an .htaccess file within any folder that you have created in the account. A lot of options will 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 forward a domain or to set custom made error pages for each of your websites. Considering that our cloud platform supports many different PHP versions, you'll be able to set any of these versions for each of your sites even 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 provide an .htaccess generator tool, that is easy enough to be used by people with zero previous experience. You will be able to access it through your Hepsia CP and employ an easy-to-use interface to enable any option you would like. Once you choose the folder where our system will set up the .htaccess file, you just have to check the boxes next to the options that you would like to activate, then save the changes and you will be all set. The only thing you will have to type by hand will be a URL - if you wish to use the .htaccess file to redirect one of your domains/subdomains to another address or if you want to use custom made error pages. Our platform shall also enable you to set the PHP version that an Internet site will use by putting an .htaccess file in its root folder, even when your account as a whole uses a different version.