.htaccess is a small text file that is located either directly inside a domain folder or in a subfolder to guide the web server how it has to handle requests when a website or a folder that is part of it is accessed. Many widespread scripts such as WordPress and Joomla use an .htaccess file. If you get a considerable amount of fake traffic to your website, for instance, you'll be able to block the access of particular IP addresses and third-party Internet sites, or you could request the visitor to enter a username and a password to be able to view the content. You could also set up URL redirecting or use custom error pages for your site, prevent other Internet sites from linking to your content directly and from using your account’s traffic quota, etc. An .htaccess file will give you far more control over your websites and the way they work.
.htaccess Generator in Shared Hosting
You can use an .htaccess file for any purpose on our modern cloud platform irrespective of which shared plan you choose when you sign up. Furthermore, if you'd like to use one of the features which this kind of a file provides, but you don't have very much experience, you will be able to use our .htaccess generator tool, that shall offer you an easy-to-use interface where you can use checkboxes and input only file names or URLs. Thus, you are able to take advantage of an .htaccess file even if you do not know the syntax of the directives you have to use in general. With only a couple of clicks, you shall be able to forward a domain, to select a different homepage for an Internet site, or to even set a different version of PHP for a particular Internet site, which could be different from the version that your web hosting account uses.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server packages feature an .htaccess generator tool, that is easy enough to be used by people with no previous experience. You shall be able to access it via your Hepsia CP and use an easy-to-use interface to enable any option you'd like. After you select the folder in which our system will create the .htaccess file, you just need to check the boxes next to the options that you would like to enable, then save the changes and you shall be ready. The only thing you'll have to type in by hand will be a URL - if you want 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 will also permit you to set the PHP version which a website will use by placing an .htaccess file in its root folder, even if your account as a whole uses a different version.