With an .htaccess file, you shall define how the web server which addresses the requests to your Internet sites should act in different situations. This is a text file with directives that are carried out when someone tries to open your website and what happens next depends on the content of the file. As an illustration, you could block a specific IP address from accessing your website, and the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server will direct the visitor to the new web address. You could also use custom error pages or secure any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, including Drupal, Joomla and WordPress, use an .htaccess file to operate properly.

.htaccess Generator in Website Hosting

If you obtain any of our website hosting packages, you can reap the benefits of our user-friendly .htaccess generator tool, that is part of the Hepsia CP. You'll not need to know what syntax the many directives in this type of a file must have, since our tool is very easy to use and you will only need to check boxes or enter URLs, so you can easily use an .htaccess file even in case you have never had a website hosting account before. Our .htaccess generator offers a large amount of options - you can 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 much more. You shall even be able to set a different PHP version for each one of your sites.

.htaccess Generator in Semi-dedicated Hosting

The Linux semi-dedicated hosting that we provide feature an efficient, but user-friendly .htaccess generator tool, which will provide you with the opportunity to use this kind of a file for any purpose even when you are not experienced. The tool is included in the Hepsia Control Panel and has the same intuitive interface. If you'd like to use some of the options which can be enabled via an .htaccess file, you simply need to check the box next to it inside the list that you'll find when you open the tool. You can even pick in which directory of your account the file shall be created and you'll be good to go. An .htaccess file may also be used to set a PHP version for a specific site which differs from the version which the account itself employs. Should you have any troubles, we have thorough help articles and video lessons that will show you first-hand how to activate any option that's available inside the tool.