An .htaccess file is a text file which contains directives which tell a web server how to behave in particular situations. It must be placed into the folder in which these directives should be carried out. Numerous script-driven applications use such a file to perform correctly - WordPress and Joomla, for example. You can use this kind of a file with custom content as well and do a lot of things - block an IP address, an entire network or particular Internet sites from accessing your site, set tailor-made error pages which shall be displayed instead of the server-generated ones if a visitor encounters some error on the website, redirect a domain or a subdomain to a new web address, create a password-protected area plus more. With an .htaccess file, you will have more effective control over your online presence.
.htaccess Generator in Shared Website Hosting
We have an easy-to-use .htaccess generator tool that will permit you to set up and use this type of files without trouble even if you have no previous experience and you don't know the syntax of the respective directives for such a file. The tool is part of the Hepsia CP, offered with our Linux shared website hosting and any option in it may be activated by picking acheckbox and eventually by typing a username or a URL, depending on what exactly you need to do with the .htaccess file. You can also decide where the file should be created, so you shall not have to do anything by hand before or after that. By using an .htaccess file, you will also be able to choose the PHP version that will be active for a specific domain, even if it isn't the same version as the one for the entire account.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server solutions offer an .htaccess generator tool, that is simple enough to be used by individuals without previous experience. You'll be able to access it through your Hepsia CP and benefit from a user-friendly interface to enable any option you would like. When you choose the folder in which our system will set up the .htaccess file, you simply need to check the boxes next to the options that you want to activate, then save the changes and you will be set. The only thing you'll have to input by hand shall be a URL - if you'd like to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you prefer to use customized error pages. Our platform shall also permit you to set the PHP version which an Internet site will use by placing an .htaccess file in its root folder, no matter if your account in its entirety uses a different version.