.htaccess is a small text file that's located either directly inside a domain folder or inside a subfolder to guide the web server how it should handle requests when a site or a folder which is part of it is accessed. Many famous scripts like Joomla and WordPress use an .htaccess file. If you get a lot of fake traffic to your Internet site, for instance, you can block the access of certain IP addresses and third-party Internet sites, or you may request the visitor to input a username and a password to be able to see the content. You may also set up URL forwarding or use personalized error pages for your website, prevent other websites from linking to your content directly and from using your account’s traffic quota, and so on. An .htaccess file shall give you much more control over your sites and the way they work.
.htaccess Generator in Hosting
You may use an .htaccess file for any purpose on our modern cloud platform irrespective of which hosting you select when you sign up. Furthermore, if you would like use one of the functions that this type of a file provides, but you do not have a lot of experience, you can use our .htaccess generator tool, which will provide you with an easy-to-use interface where you can use checkboxes and input only file names or URLs. This way, you can take advantage of an .htaccess file even if you do not know the syntax of the directives that you need to use in general. With only a few mouse clicks, you shall be able to forward a domain, to pick another homepage for an Internet site, or to even set a different version of PHP for a specific site, which can be different from the version your web hosting account uses.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server plans feature an .htaccess generator tool, that is easy enough to be used by people with zero previous experience. You will be able to access it through your Hepsia CP and benefit from an easy-to-use interface to activate any option you would like. When you choose the folder in which our system will create the .htaccess file, you just have to check the boxes next to the options which you want to activate, then save the changes and you shall be ready. The one thing you'll have to input by hand shall be a URL - if you wish to use the .htaccess file to forward one of your domains/subdomains to a different address or if you would like to use customized error pages. Our platform shall also permit you to set the PHP version that a site will use by adding an .htaccess file inside its root folder, even if your account in general uses a different version.