An .htaccess file is a text file which features directives which tell a web server how to behave in particular occasions. It must be placed in the folder in which these directives should be performed. Many script-driven apps use this type of a file to function correctly - WordPress and Joomla, for instance. You can use such a file with personalized content as well and do a wide range of things - block an IP address, an entire network or specific Internet sites from accessing your site, set personalized error pages that will show up rather than server-generated ones if a visitor encounters some error on the website, direct a domain or a subdomain to a new web address, create a password-protected area plus more. With an .htaccess file, you'll have far better control over your presence online.

.htaccess Generator in Web Hosting

When you obtain any of our web hosting solutions, you can take advantage of our user-friendly .htaccess generator tool, that's part of the Hepsia CP. You won't need to know what syntax the many directives in this type of a file should have, because our tool is super easy to use and you'll only have to check boxes or type in URLs, so you can certainly use an .htaccess file even in case you have never had a website hosting account before. Our .htaccess generator gives a lot of options - you may block IP addresses, set the first page that loads when somebody opens your site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You'll even be able to set a different PHP version for each one of your Internet sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server solutions provide an .htaccess generator tool, that's easy enough to be used by individuals without previous experience. You will be able to access it through your Hepsia Control Panel and take advantage of an intuitive interface to activate any option you need. Once you pick the folder in which our system will set up the .htaccess file, you just need to check the boxes next to the options that you want to activate, then save the changes and you will be good to go. The one thing you will have to type in manually shall be a URL - if you would like to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you prefer to use custom error pages. Our platform shall also allow you to set the PHP version that a site will use by putting an .htaccess file in its root folder, even when your account in general uses a different version.