With an .htaccess file, you'll specify how the server that deals with the requests to your Internet sites should act in various occasions. This is a text file with directives that are performed when an individual tries to open your Internet site and what happens next is determined by the content of the file. For example, you may block a particular IP address from accessing your website, and the server will decline your visitor’s request, or you can forward your domain name to an alternative URL, so the server will redirect the visitor to the new web address. Also you can use tailor-made error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to work correctly.
.htaccess Generator in Cloud Hosting
If you purchase any of our cloud hosting plans, you can reap the benefits of our easy-to-use .htaccess generator tool, that's part of the Hepsia CP. You'll not need to know what syntax the different directives in this kind of a file must have, as our tool is easy to use and you shall only need to check boxes or enter URLs, so you can certainly use an .htaccess file even in case you have never had a website hosting account before. Our .htaccess generator offers a number of options - you may block IP addresses, set the first page that loads when an individual 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 one of your sites.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server packages include an .htaccess generator tool, which is easy enough to be used by people with no previous experience. You'll be able to access it through your Hepsia CP and take advantage of an intuitive interface to activate any option you need. After you select the folder where our system will set up the .htaccess file, you only need to check the boxes next to the options that you would like to activate, then save the changes and you'll be good to go. The one thing you will have to enter manually shall be a URL - if you want to use the .htaccess file to forward one of your domains/subdomains to another address or if you want to use personalized error pages. Our platform shall also permit 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 as a whole uses a different version.