.htaccess is a small text file which is placed either directly inside a domain folder or inside a subfolder to guide the server how it has to address requests when a website or a folder that is part of it is accessed. A lot of popular scripts such as Joomla and WordPress use an .htaccess file. If you get a lot of fake traffic to your Internet site, for example, you can block the access of particular IP addresses and third-party sites, or you can request the guest to type in a username and a password to be able to view the content. You could also set up URL redirecting or use personalized error pages for your site, prevent other Internet sites from linking to your content directly and from using your account’s traffic quota, and so on. An .htaccess file shall give you far more control over your Internet sites and the way they function.
.htaccess Generator in Cloud Website Hosting
If you want to use any of the functions an .htaccess file offers, but you haven't dealt with this type of matters before, you can use the .htaccess generator tool included with our cloud website hosting packages. The tool is part of our in-house built Hepsia Control Panel and it'll give you an easy and user-friendly means to create an .htaccess file in any folder which you have created in the account. A large number of options shall be available with checkboxes, so you should only select the one which you need and eventually type a URL - if you are using the file to forward a domain or to set custom error pages for each of your Internet sites. Because our cloud platform supports many different PHP versions, you shall also be able to set any of these versions for each of your sites regardless if it's different from the version set for your Internet hosting account as a whole.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server plans come with an .htaccess generator tool, which is easy enough to be used by people without previous experience. You shall be able to access it using your Hepsia CP and take advantage of a user-friendly interface to enable any option you'd like. When you pick the folder where 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 will be good to go. The only thing you will have to input manually shall be a URL - if you would like to use the .htaccess file to forward one of your domains/subdomains to a different address or if you want to use custom made error pages. Our platform will also permit you to set the PHP version which a website will use by putting an .htaccess file within its root folder, regardless if your account as a whole uses a different version.