With an .htaccess file, you shall specify how the server that manages the requests to your websites must act a number of scenarios. This is a text file with directives that are executed when an individual tries to open your website and what happens next is determined by the content of the file. As an illustration, you may block a particular IP address from accessing your website, so the server will decline your visitor’s request, or you can forward your domain name to another URL, so the server will direct the visitor to the new web address. You could also use custom-made error pages or protect any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, including WordPress, Joomla and Drupal, use an .htaccess file to work properly.

.htaccess Generator in Cloud Hosting

When you get any of our cloud hosting plans, you can benefit from our intuitive .htaccess generator tool, that is part of the Hepsia CP. You will not need to know what syntax the many directives in such a file must have, as our tool is very simple to use and you'll only have to check boxes or enter URLs, so you can easily use an .htaccess file even when you have never had a website hosting account before. Our .htaccess generator gives a lot of options - you could block IP addresses, set the first page that loads when somebody opens your website, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You shall even be able to set a different PHP version for each one of your Internet sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server packages offer an .htaccess generator tool, that is simple enough to be used by individuals with no previous experience. You'll be able to access it using your Hepsia Control Panel and employ an easy-to-use interface to activate any option you want. After you choose the folder in which our system will set up the .htaccess file, you simply need to check the boxes next to the options which you want to enable, then save the changes and you shall be set. The one thing you'll have to input by hand shall be a URL - if you wish to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you want to use custom error pages. Our platform will also permit you to set the PHP version which an Internet site will use by putting an .htaccess file within its root folder, even if your account in its entirety uses a different version.