An .htaccess file is a text file that contains directives which tell a web server how to act in certain events. It must be positioned in the folder in which these directives should be executed. Loads of script-driven applications use this type of a file to perform properly - WordPress and Joomla, for example. You can use this type of a file with custom content as well and do a lot of things - block an IP address, a whole network or particular websites from accessing your site, set customized error pages which will show up rather than server-generated ones if a visitor encounters some error on the website, forward a domain or a subdomain to a different web address, set up a password-protected area and more. With an .htaccess file, you'll have far better control over your online presence.
.htaccess Generator in Hosting
When you acquire any of our hosting solutions, you can take advantage of our easy-to-use .htaccess generator tool, that is part of the Hepsia CP. You shall not need to know what syntax the different directives in such 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 use an .htaccess file even when you have never had a website hosting account before. Our .htaccess generator provides a lot of options - you could block IP addresses, set the first page that loads when someone opens your website, 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 one of your websites.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server solutions offer an .htaccess generator tool, that's simple enough to be used by individuals with no previous experience. You shall be able to access it via your Hepsia Control Panel and use an intuitive interface to activate any option you want. Once you pick the folder where our system will set up the .htaccess file, you just have to check the boxes beside the options you want to activate, then save the changes and you shall be set. The only thing you'll have to input by hand will be a URL - if you wish to use the .htaccess file to redirect one of your domains/subdomains to another address or if you prefer to use personalized error pages. Our platform shall also allow you to set the PHP version that a website will use by placing an .htaccess file within its root folder, no matter if your account as a whole uses a different version.