An .htaccess file is a text file which incorporates directives that tell a server how to behave in particular situations. It must be positioned in the folder in which these directives should be carried out. Many script-driven applications employ this sort of a file to operate efficiently - WordPress and Joomla, for example. You can use this type of a file with custom made content as well and do quite a lot of things - block an IP address, a whole network or specific sites from accessing your site, set customized error pages that shall show up instead of the server-generated ones in case a visitor encounters some error on the website, redirect a domain or a subdomain to a different web address, create a password-protected area plus more. With an .htaccess file, you shall have far better control over your world-wide web presence.

.htaccess Generator in Shared Hosting

When you purchase any of our shared hosting solutions, you can take advantage of our user-friendly .htaccess generator tool, that is part of the Hepsia Control Panel. You shall not need to know what syntax the many directives in such a file must have, because our tool is super easy to use and you'll only need to check boxes or enter URLs, so you can easily use an .htaccess file even in case you have never had an Internet hosting account before. Our .htaccess generator gives a lot of options - you can block IP addresses, set the first page that loads when somebody opens your Internet site, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You will even be able to set a different PHP version for each of your sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server packages include an .htaccess generator tool, that's simple enough to be used by people with zero previous experience. You'll be able to access it using your Hepsia CP and use an intuitive interface to activate any option you want. As soon as you choose the folder in which our system will set up the .htaccess file, you just need to check the boxes beside the options that you would like to enable, then save the changes and you'll be ready. The only thing you will have to input by hand shall be a URL - if you'd like to use the .htaccess file to forward one of your domains/subdomains to another address or if you would like to use custom error pages. Our platform shall also permit you to set the PHP version which an Internet site will use by placing an .htaccess file inside its root folder, regardless if your account as a whole uses a different version.