With an .htaccess file, you can determine how the server which addresses the requests to your websites have to act in a variety of occasions. This is a text file with directives that are carried out when an individual tries to open your website and what happens next will depend on the content of the file. As an example, you can block a certain IP address from accessing the website, so the server will decline the visitor’s request, or you can redirect your domain name to some other URL, so the server will direct the visitor to the new web address. You could also use personalized error pages or shield any part of your site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, like Joomla, Drupal and WordPress, use an .htaccess file to work properly.
.htaccess Generator in Website Hosting
If you want to use any of the functionalities that an .htaccess file offers, but you've never dealt with such matters before, you can use the .htaccess generator tool provided with our website hosting plans. The tool is part of our in-house built Hepsia CP and it'll offer you an easy and intuitive means to create an .htaccess file in any folder which you have created inside the account. A lot of options shall be available with checkboxes, so you should only select the one which 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 sites. Since 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 is different from the version set for your web hosting account as a whole.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server plans include an .htaccess generator tool, that is simple enough to be used by people with zero previous experience. You shall be able to access it using your Hepsia Control Panel and benefit from an intuitive interface to activate any option you want. Once you pick the folder where our system will set up the .htaccess file, you only need to check the boxes next to the options that you would like to enable, then save the changes and you shall be all set. The one thing you shall have to input manually shall be a URL - if you wish to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you want to use custom made error pages. Our platform will also allow you to set the PHP version that an Internet site will use by adding an .htaccess file in its root folder, regardless if your account in its entirety uses a different version.