With an .htaccess file, you will define how the server that addresses the requests to your websites should act a number of scenarios. This is a text file with directives that are carried out when somebody tries to open your site and what happens next is determined by the content of the file. As an illustration, you could block a particular IP address from accessing your website, therefore the server will decline the visitor’s request, or you can forward your domain name to an alternative URL, so the server may redirect the visitor to the new web address. Also you can use custom-made error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, including WordPress, Drupal and Joomla, use an .htaccess file to function properly.

.htaccess Generator in Hosting

You can use an .htaccess file for any purpose on our modern cloud platform irrespective of which Linux hosting you choose when you sign up. Furthermore, if you would like use one of the features that this sort of a file offers, but you don't have much experience, you can use our .htaccess generator tool, that will provide you with an easy-to-use interface where you can use checkboxes and type in only file names or URLs. This way, you'll be able to 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 a few mouse clicks, you'll be able to redirect a domain, to select a different homepage for a website, or to even set a different version of PHP for a certain site, which could be different from the version that your web hosting account uses.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server plans feature an .htaccess generator tool, which is simple enough to be used by people without previous experience. You'll be able to access it via your Hepsia CP and use an intuitive interface to enable any option you would like. Once 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 enable, then save the changes and you will be ready. The only thing you shall have to type in 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 prefer to use custom error pages. Our platform shall also permit you to set the PHP version that an Internet site will use by putting an .htaccess file inside its root folder, regardless if your account in general uses a different version.