With an .htaccess file, you can determine how the server which addresses the requests to your web sites have to act in various cases. This is a text file with directives that are performed when an individual tries to open your website and what happens next will depend on the content of the file. As an example, you may block a certain IP address from accessing the Internet site, which means that the server will decline your visitor’s request, or you can redirect your domain name to an alternative URL, so the server may direct the visitor to the new web address. You could also use tailor-made error pages or protect any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to work properly.
.htaccess Generator in Website Hosting
If you obtain any of our website hosting solutions, you can reap the benefits of our easy-to-use .htaccess generator tool, which is part of the Hepsia CP. You will not need to know what syntax the different directives in this type of a file should have, since our tool is a breeze to use and you shall only need to check boxes or type URLs, so you can use an .htaccess file even if you have never had a web hosting account before. Our .htaccess generator provides a lot of options - you can block IP addresses, set the first page that loads when somebody 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 shall even be able to set a different PHP version for each one of your Internet sites.
.htaccess Generator in Semi-dedicated Hosting
The Linux semi-dedicated packages that we offer come with a powerful, but easy-to-work-with .htaccess generator tool, that will provide you with the option to use this kind of a file for any purpose even if you are not experienced. The tool is built into the Hepsia CP and has the same intuitive interface. If you would like to use some of the options which can be activated via an .htaccess file, you simply need to check the box next to it inside the list which you will find when you open the tool. You can even select in which directory of your account the file shall be created and you shall be all set. An .htaccess file may also be used to set a PHP version for a given website that is different from the version which the account itself employs. Should you have any issues, we have thorough help articles and instructional videos that shall explain to you first-hand how to activate any option that's available within the tool.