.htaccess is a small text file that is placed either directly in a domain folder or in a subfolder to guide the web server how it should handle requests when a site or a folder that's part of it is accessed. Numerous commonly used scripts like Joomla and WordPress use an .htaccess file. If you get a considerable amount of fake traffic to your Internet site, for example, you may block the access of specific IP addresses and third-party Internet sites, or you can request the visitor to input a username and a password to view the content. You could also set up URL forwarding or use custom error pages for your website, prevent other sites from linking to your content directly and from using your account’s traffic quota, etc. An .htaccess file offers you far more control over your sites and the way they work.
.htaccess Generator in Hosting
You can use an .htaccess file for any purpose on our innovative cloud platform regardless of which hosting package you pick when you sign up. In addition, if you would like use one of the features that this type of a file offers, but you do not have very much 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 type only file names or URLs. This way, you'll be able to work with an .htaccess file even though you may not know the syntax of the directives that you need to use in general. With only a couple of clicks, you will be able to redirect a domain, to select an alternative home page for a website, or to even set a different version of PHP for a certain website, which could be different from the version your hosting account uses.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server packages offer an .htaccess generator tool, that's easy enough to be used by individuals without previous experience. You'll be able to access it via your Hepsia CP and employ a user-friendly interface to activate any option you need. Once you select the folder where our system will create the .htaccess file, you simply need to check the boxes beside the options that you'd like to activate, then save the changes and you shall be ready. The one thing you shall have to type by hand shall be a URL - if you need to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you would like to use custom error pages. Our platform shall also enable you to set the PHP version that a site will use by putting an .htaccess file in its root folder, no matter if your account in its entirety uses a different version.