An .htaccess file is a text file that incorporates directives which tell a server how to behave in particular situations. It should be put in the folder in which these directives should be performed. Loads of script-driven apps employ such a file to perform correctly - WordPress and Joomla, for example. You can use this sort of a file with personalized content too and do quite a lot of things - block an IP address, a whole network or specific sites from accessing your site, set custom error pages which will be displayed rather than server-generated ones if a visitor encounters some error on the website, forward a domain or a subdomain to a new web address, create a password-protected area plus much more. With an .htaccess file, you shall have significantly better control over your world-wide web presence.
.htaccess Generator in Shared Hosting
If you obtain any of our shared hosting plans, you can take advantage of our intuitive .htaccess generator tool, that is part of the Hepsia Control Panel. You will not need to know what syntax the various directives in such a file need to have, as our tool is super easy to use and you will only need to check boxes or type in URLs, so you can certainly use an .htaccess file even in case you have never had a web hosting account before. Our .htaccess generator gives a lot of options - you'll be able to block IP addresses, set the first page that loads when somebody opens your website, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You shall even be able to set a different PHP version for each of your Internet sites.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server packages provide an .htaccess generator tool, that is simple enough to be used by individuals with no previous experience. You'll be able to access it using your Hepsia CP and use an intuitive interface to activate any option you need. When you select the folder in which our system will create the .htaccess file, you just need to check the boxes beside the options that you would like to activate, then save the changes and you shall be ready. The one thing you'll have to input manually shall be a URL - if you'd like to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you would like to use custom made error pages. Our platform will also permit you to set the PHP version that a website will use by putting an .htaccess file in its root folder, even when your account as a whole uses a different version.