With an .htaccess file, you'll determine how the web server which manages the requests to your websites must act in different scenarios. This is a text file with directives that are carried out when somebody tries to open your site and what happens next is determined by the content of the file. As an illustration, you may block a certain IP address from accessing your website, which means that the server will decline your visitor’s request, or you can redirect your domain to a different URL, so the server may direct the visitor to the new web address. You may also use personalized error pages or secure any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to work correctly.
.htaccess Generator in Shared Hosting
When you obtain any of our shared hosting solutions, you can benefit from our intuitive .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 need to have, since our tool is super easy to use and you will only need to check boxes or enter URLs, so you can easily use an .htaccess file even when you have never had a hosting account before. Our .htaccess generator gives a large amount of options - you may block IP addresses, set the first page that loads when someone opens your Internet site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You'll even be able to set a different PHP version for each of your Internet sites.
.htaccess Generator in Semi-dedicated Hosting
The Linux semi-dedicated hosting that we offer you feature an efficient, but easy-to-use .htaccess generator tool, that will provide you with the option to use this type of a file for any purpose even if you're not very experienced. The tool is included in the Hepsia Control Panel and has the same intuitive interface. If you would like to use any of the options which can be activated via an .htaccess file, you just have to check the box next to it within the list which you shall find when you open the tool. You can also choose in which directory of your account the file will be created and you'll be all set. An .htaccess file can also be used to set a PHP version for a particular website that differs from the version which the account itself takes advantage of. If you have any difficulties, we have thorough help articles and video tutorials which will demonstrate first-hand how to activate any option that's available within the tool.