With an .htaccess file, you shall specify how the web server which handles the requests to your web sites should act in various occasions. This is a text file with directives that are carried out when an individual tries to open your site and what happens next is determined by the content of the file. As an example, you can block a certain IP address from accessing the website, therefore the server will decline the visitor’s request, or you can redirect your domain name to an alternative URL, so the server will direct the visitor to the new web address. You can also use tailor-made error pages or protect any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, such as WordPress, Drupal and Joomla, use an .htaccess file to function properly.

.htaccess Generator in Cloud Website Hosting

If you wish to use any of the functionalities which an .htaccess file offers, but you have never dealt with this kind of matters before, you can use the .htaccess generator tool provided with all our cloud website hosting solutions. The tool is part of our in-house built Hepsia CP and it'll provide you with an easy and user-friendly means to set up an .htaccess file inside any folder which you have created in the account. A lot of options shall be available with checkboxes, so you should only select the one which you need and eventually enter a URL - if you are using the file to redirect a domain or to set custom made error pages for any of your sites. Because our cloud platform supports a variety of PHP versions, you will also be able to set any of these versions for any of your sites regardless if 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 solutions feature an .htaccess generator tool, which is easy enough to be used by people with zero previous experience. You shall be able to access it via your Hepsia CP and take advantage of an easy-to-use interface to enable any option you'd like. Once you choose the folder where our system will create the .htaccess file, you just need to check the boxes next to the options that you'd like to activate, then save the changes and you shall be set. The one thing you shall have to type by hand will be a URL - if you need to use the .htaccess file to forward one of your domains/subdomains to a different address or if you prefer to use custom error pages. Our platform will also allow you to set the PHP version which a site will use by placing an .htaccess file in its root folder, no matter if your account as a whole uses a different version.