With an .htaccess file, you shall determine 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 somebody tries to open your website and what happens next depends on the content of the file. As an example, you could block a particular IP address from opening your website, so the server will decline the visitor’s request, or you can redirect your domain to a different URL, so the server may redirect the visitor to the new web address. You may also use custom-made error pages or protect any part of your Internet 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 function efficiently.

.htaccess Generator in Cloud Website Hosting

When you obtain any of our cloud website hosting plans, you can take advantage of our user-friendly .htaccess generator tool, that is part of the Hepsia Control Panel. You shall not need to know what syntax the different directives in this sort of a file need to have, since our tool is super easy to use and you will only have to check boxes or type in URLs, so you can easily use an .htaccess file even when you have never had a web hosting account before. Our .htaccess generator gives a number of options - you could block IP addresses, set the first page that loads when someone opens your Internet site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You will even be able to set a different PHP version for each of your Internet sites.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server plans offer an .htaccess generator tool, that's easy enough to be used by individuals with no previous experience. You'll be able to access it through your Hepsia Control Panel and employ an intuitive interface to enable any option you need. After you pick the folder where our system will create the .htaccess file, you just have to check the boxes beside the options which you want to activate, then save the changes and you will be all set. The one thing you will have to type by hand will 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 would like to use custom error pages. Our platform will also enable you to set the PHP version which an Internet site will use by placing an .htaccess file within its root folder, even if your account in general uses a different version.