An .htaccess file is a text file which includes directives which tell a web server how to operate in certain situations. It must be positioned in the folder where these directives should be carried out. Loads of script-driven apps employ this type of a file to operate efficiently - WordPress and Joomla™, for example. You can use such a file with personalized content too and do a lot of things - block an IP address, an entire network or particular websites from accessing your site, set customized error pages which will be displayed instead of the server-generated ones in case a visitor encounters some error on the website, redirect a domain or a subdomain to a new web address, create a password-protected area and more. With an .htaccess file, you shall have much better control over your online presence.
.htaccess Generator in Web Hosting
If you obtain any of our web hosting
solutions, you can take advantage of our easy-to-use .htaccess generator tool, that is part of the Hepsia CP. You'll not need to know what syntax the various directives in this kind of a file should have, because our tool is easy to use and you will only have to check boxes or input URLs, so you can use an .htaccess file even if you have never had a website hosting account before. Our .htaccess generator provides a wide range of options - you can block IP addresses, set the first page that loads when someone opens your website, create password protection, redirect 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 websites.
.htaccess Generator in Semi-dedicated Servers
The semi-dedicated plans
that we offer include a powerful, but easy-to-work-with .htaccess generator tool, which will provide you with the opportunity to use this sort of a file for any purpose even if you are not experienced. The tool is incorporated into the Hepsia Control Panel and has the same intuitive interface. If you'd like to use any of the options that can be activated with an .htaccess file, you just have to check the box next to it inside the list that you shall find when you open the tool. You can even decide 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 particular site that differs from the version which the account itself takes advantage of. Should you have any troubles, we have thorough help articles and instructional videos that will reveal to you first-hand how to activate any option that is available in the tool.