An .htaccess file is a text file that incorporates directives which tell a server how to behave in particular situations. It needs to be placed in the folder in which these directives should be carried out. Numerous script-driven applications use this sort of a file to operate properly - WordPress and Joomla, for instance. You can use this sort of a file with customized content too and do lots of things - block an IP address, a whole network or specific sites from accessing your site, set custom made error pages which will show up rather than the server-generated ones in case a visitor encounters some error on the site, redirect a domain or a subdomain to another web address, set up a password-protected area and much more. With an .htaccess file, you will have significantly better control over your web presence.

.htaccess Generator in Shared Hosting

If you purchase any of our shared hosting plans, you can take full advantage of our user-friendly .htaccess generator tool, which is part of the Hepsia Control Panel. You will not need to know what syntax the many directives in this sort of a file need to have, because our tool is easy to use and you shall only have to check boxes or enter URLs, so you can use an .htaccess file even when you have never had a web hosting account before. Our .htaccess generator offers a wide range of options - you may block IP addresses, set the first page that loads when a person opens your website, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You shall even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server solutions come with an .htaccess generator tool, which is easy enough to be used by individuals without previous experience. You shall be able to access it via your Hepsia CP and take advantage of a user-friendly interface to activate any option you would like. Once you pick the folder in which our system will create the .htaccess file, you just have to check the boxes next to the options which you want to activate, then save the changes and you'll be all set. The one thing you'll have to enter manually will be a URL - if you would like to use the .htaccess file to forward one of your domains/subdomains to a different address or if you want to use custom error pages. Our platform will also permit you to set the PHP version which a website will use by putting an .htaccess file inside its root folder, even when your account in its entirety uses a different version.