With an .htaccess file, you can determine how the web server which addresses the requests to your Internet sites have to act in various occasions. This is a text file with directives that are executed when somebody tries to open your site and what happens next depends on the content of the file. As an illustration, you can block a specific IP address from opening the site, which means that the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server will redirect the visitor to the new web address. You may also use custom-made error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven applications, like Drupal, Joomla and WordPress, use an .htaccess file to work correctly.
.htaccess Generator in Cloud Hosting
When you obtain any of our cloud hosting plans, you can take advantage of our easy-to-use .htaccess generator tool, which is part of the Hepsia Control Panel. You won't need to know what syntax the various directives in such a file must have, as our tool is super easy to use and you'll only need to check boxes or enter URLs, so you can use an .htaccess file even when you have never had a web hosting account before. Our .htaccess generator provides a substantial amount of options - you may block IP addresses, set the first page that loads when a person opens your site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You'll even be able to set a different PHP version for each one of your sites.
.htaccess Generator in Semi-dedicated Servers
All our semi-dedicated servers feature the innovative, albeit easy-to-use Hepsia Control Panel, which incorporates our .htaccess generator tool. It shall enable you to create a system file in any folder of your choice with only a few clicks. Even if you're not tech-savvy, you could take advantage of all the features which an .htaccess file provides because our tool is very intuitive to use. You'll find a list of all the options which you can activate and there shall be a checkbox next to each and every one of them. Just select the options that you want to activate and eventually type in a URL - if you're using the .htaccess file to forward one URL to another or to set custom error pages. You will not have to type in any code at any time. If necessary, you can use an .htaccess file to use different versions of PHP for your sites, since a few versions are available simultaneously on our hosting platform.