An .htaccess file is a text file that includes directives that tell a server how to act in certain situations. It needs to be placed into the folder where these directives should be performed. Numerous script-driven applications use this type of a file to function correctly - WordPress and Joomla, for instance. You can use this type of a file with customized content as well and do lots of things - block an IP address, an entire network or certain websites from accessing your site, set personalized error pages that will be displayed rather than server-generated ones if a visitor encounters some error on the website, redirect a domain or a subdomain to a new web address, set up a password-protected area and more. With an .htaccess file, you shall have more effective control over your presence online.
.htaccess Generator in Web Hosting
When you acquire any of our web hosting plans, you can benefit from our easy-to-use .htaccess generator tool, that is part of the Hepsia Control Panel. You won't need to know what syntax the different directives in this sort of a file should have, as our tool is easy to use and you will only need to check boxes or type URLs, so you can easily use an .htaccess file even when you have never had a hosting account before. Our .htaccess generator gives a substantial amount of options - you may block IP addresses, set the first page that loads when somebody opens your website, create 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 of your websites.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server packages feature an .htaccess generator tool, which is easy enough to be used by people with no previous experience. You'll be able to access it using your Hepsia CP and use an easy-to-use interface to activate any option you would like. Once you pick the folder in which our system will set up the .htaccess file, you just have to check the boxes next to the options that you want to activate, then save the changes and you will be all set. The one thing you'll have to input by hand shall be a URL - if you want to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you would like to use customized error pages. Our platform shall also enable you to set the PHP version that a website will use by adding an .htaccess file within its root folder, even when your account as a whole uses a different version.