With an .htaccess file, you will define how the web server that handles the requests to your websites should act in various occasions. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next will depend on the content of the file. For instance, you can block a certain IP address from opening your website, therefore the server will decline your visitor’s request, or you can redirect your domain to a different URL, so the server will redirect the visitor to the new web address. You can also use custom error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven applications, including Drupal, Joomla and WordPress, use an .htaccess file to function efficiently.
.htaccess Generator in Shared Web Hosting
If you want to use any of the functionalities that an .htaccess file offers, but you have never dealt with such matters before, you should use the .htaccess generator tool included with all our shared web hosting solutions. The tool is part of our in-house built Hepsia CP and it'll give you an easy and intuitive means to create an .htaccess file inside any folder that you have created inside the account. Quite a few options will be available with checkboxes, so you should only choose the one you need and eventually type in a URL - if you are using the file to forward a domain or to set customized error pages for each of your sites. Considering that our cloud platform supports a variety of PHP versions, you'll also be able to set any of these versions for each of your Internet sites even when it is different from the version set for your hosting account as a whole.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server solutions offer an .htaccess generator tool, which is simple enough to be used by individuals with zero previous experience. You'll be able to access it through your Hepsia Control Panel and benefit from an easy-to-use interface to activate any option you need. Once you pick the folder in which our system will create the .htaccess file, you just need to check the boxes next to the options that you would like to activate, then save the changes and you'll be ready. The only thing you will have to type manually will be a URL - if you need to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you prefer to use customized error pages. Our platform shall also permit you to set the PHP version that an Internet site will use by putting an .htaccess file inside its root folder, regardless if your account as a whole uses a different version.