With an .htaccess file, you shall specify how the server which addresses the requests to your web sites should act in different cases. This is a text file with directives that are executed when someone tries to open your site and what happens next depends on the content of the file. For example, you may block a specific IP address from opening the website, therefore the server will decline the visitor’s request, or you can forward your domain to an alternative URL, so the server may redirect the visitor to the new web address. You could also use tailor-made error pages or protect any part of your site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, including Drupal, Joomla and WordPress, use an .htaccess file to operate efficiently.
.htaccess Generator in Shared Web Hosting
When you purchase any of our shared web hosting packages, you can benefit from our intuitive .htaccess generator tool, that is part of the Hepsia Control Panel. You'll not need to know what syntax the many directives in this kind of a file should have, because our tool is a breeze to use and you'll only have to check boxes or type URLs, so you can certainly use an .htaccess file even if you have never had an Internet hosting account before. Our .htaccess generator provides a wide range of options - you'll be able to block IP addresses, set the first page that loads when a person opens your site, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You shall even be able to set a different PHP version for each of your websites.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server packages feature an .htaccess generator tool, that is simple enough to be used by people with zero previous experience. You will be able to access it through your Hepsia Control Panel and take advantage of an easy-to-use interface to enable any option you need. Once you pick 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 shall be all set. The only thing you'll have to input manually will 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 made error pages. Our platform shall also permit you to set the PHP version which an Internet site will use by putting an .htaccess file within its root folder, even when your account in general uses a different version.