With an .htaccess file, you shall determine how the web server that manages the requests to your web sites have to act in a variety of scenarios. This is a text file with directives that are carried out when someone tries to open your site and what happens next will depend on the content of the file. For instance, you can block a particular IP address from accessing your website, so the server will decline the visitor’s request, or you can redirect your domain to another URL, so the server may redirect the visitor to the new web address. You could also use customized error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, including WordPress, Drupal and Joomla, use an .htaccess file to work properly.

.htaccess Generator in Shared Hosting

If you want to use any of the functionalities an .htaccess file provides, but you have never dealt with this kind of matters before, you need to use the .htaccess generator tool offered with all our shared hosting solutions. The tool is part of our in-house built Hepsia CP and it will offer you an uncomplicated and intuitive means to set up an .htaccess file inside any folder that you've created within the account. A large number of options shall be available with checkboxes, so you should only choose the one that you need and eventually type in a URL - if you are using the file to forward a domain or to set custom made error pages for each of your Internet sites. Since our cloud platform supports a number of different PHP versions, you will also be able to set any of these versions for each of your Internet sites even if it's different from the version set for your hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server solutions include an .htaccess generator tool, which is simple enough to be used by individuals with zero previous experience. You'll be able to access it via your Hepsia Control Panel and take advantage of an intuitive interface to enable any option you want. Once you choose the folder in which our system will set up the .htaccess file, you just have to check the boxes beside the options that you'd like to activate, then save the changes and you'll be good to go. The only thing you shall have to type in manually will be a URL - if you'd like to use the .htaccess file to forward one of your domains/subdomains to a different address or if you would like to use personalized error pages. Our platform shall also enable you to set the PHP version which a website will use by putting an .htaccess file inside its root folder, even when your account in its entirety uses a different version.