An .htaccess file is a text file that includes directives that tell a web server how to behave in specific occasions. It must be put in the folder where these directives should be performed. Many script-driven apps use such a file to work properly - WordPress and Joomla, for example. You can use such a file with customized content too and do a lot of things - block an IP address, a whole network or particular sites from accessing your site, set tailor-made error pages which will show up rather than server-generated ones in case a visitor encounters some error on the website, direct a domain or a subdomain to another web address, create a password-protected area and much more. With an .htaccess file, you shall have far better control over your web presence.
.htaccess Generator in Hosting
When you obtain any of our hosting solutions, you can reap the benefits of our user-friendly .htaccess generator tool, that is part of the Hepsia Control Panel. You won't need to know what syntax the various directives in this type of a file should have, because our tool is super easy to use and you shall only need to check boxes or input URLs, so you can easily use an .htaccess file even when you have never had a web hosting account before. Our .htaccess generator gives a number of options - you can block IP addresses, set the first page that loads when someone opens your site, set up 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 feature an .htaccess generator tool, that's easy enough to be used by people with zero previous experience. You will be able to access it using your Hepsia CP and benefit from an easy-to-use interface to activate any option you'd like. Once you choose the folder where our system will create the .htaccess file, you just need to check the boxes next to the options which you want to activate, then save the changes and you'll be ready. The only thing you'll have to type in by hand will be a URL - if you'd like to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you would like to use personalized error pages. Our platform will also permit you to set the PHP version that a site will use by adding an .htaccess file inside its root folder, no matter if your account in its entirety uses a different version.