An .htaccess file is a text file that incorporates directives which tell a web server how to behave in specific situations. It should be placed in the folder in which these directives should be performed. Many script-driven apps use this type of a file to operate efficiently - WordPress and Joomla, for instance. You can use this sort of a file with customized content as well and do lots of things - block an IP address, an entire network or particular Internet sites from accessing your site, set custom error pages that shall be displayed rather than the server-generated ones in case a visitor encounters some error on the site, direct a domain or a subdomain to another web address, set up a password-protected area plus more. With an .htaccess file, you'll have significantly better control over your web presence.
.htaccess Generator in Shared Website Hosting
We have an easy-to-work-with .htaccess generator tool which will allow you to set up and use such files without any difficulty even if you don't have any previous experience and you don't know the syntax of the specific directives for this sort of a file. The tool is part of the Hepsia CP, provided with our shared website hosting packages and any option in it could be enabled by selecting acheckbox and eventually by entering a username or a URL, based on what exactly you would like to do with the .htaccess file. You can also choose where the file should be created, so you shall not have to do anything by hand after or before that. By using an .htaccess file, you shall also be able to pick the PHP version that'll be active for a given domain, no matter if it isn't the same version as the one for the entire account.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server plans provide an .htaccess generator tool, which is simple enough to be used by people with no previous experience. You will be able to access it via your Hepsia Control Panel and use a user-friendly interface to activate any option you would like. Once you choose the folder in which our system will create the .htaccess file, you just need to check the boxes beside the options you want to activate, then save the changes and you'll be good to go. The one thing you will have to type in manually shall be a URL - if you need to use the .htaccess file to forward one of your domains/subdomains to another address or if you want to use customized error pages. Our platform shall also allow you to set the PHP version which a website will use by placing an .htaccess file within its root folder, regardless if your account as a whole uses a different version.