An .htaccess file is a text file which includes directives that tell a server how to behave in certain situations. It should be put in the folder in which these directives should be performed. Many script-driven apps employ this sort of a file to operate properly - WordPress and Joomla, in particular. You can use this kind of a file with customized content as well and do a lot of things - block an IP address, an entire network or particular websites from accessing your site, set personalized error pages which will show up instead of the server-generated ones if a visitor encounters some error on the website, redirect a domain or a subdomain to a different web address, set up a password-protected area plus much more. With an .htaccess file, you shall have significantly better control over your online presence.
.htaccess Generator in Hosting
You could use an .htaccess file for any purpose on our innovative cloud platform irrespective of which Linux hosting you choose when you sign up. Additionally, if you'd like to use one of the functions that this type of a file provides, but you don't have a lot of experience, you will be able to use our .htaccess generator tool, that will provide you with an easy-to-use interface where you can use checkboxes and input only file names or URLs. This way, you are able to use an .htaccess file even though you may not know the syntax of the directives you need to use in general. With a few mouse clicks, you'll be able to redirect a domain, to choose a different home page for a site, or to even set a different version of PHP for a specific site, which can be different from the version which your website hosting account uses.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server solutions include an .htaccess generator tool, that is easy enough to be used by people with no previous experience. You will be able to access it through your Hepsia CP and employ an intuitive interface to enable any option you want. After you choose the folder in which our system will create the .htaccess file, you just have to check the boxes next to the options that you'd like to enable, then save the changes and you'll be set. The one thing you'll have to enter manually shall be a URL - if you need to use the .htaccess file to redirect one of your domains/subdomains to another address or if you would like to use personalized error pages. Our platform will also allow you to set the PHP version which a website will use by adding an .htaccess file inside its root folder, even when your account as a whole uses a different version.