With an .htaccess file, you can determine how the server that manages the requests to your web sites must act in different cases. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next is determined by the content of the file. As an example, you could block a particular IP address from opening your website, so the server will decline your visitor’s request, or you can redirect your domain name to an alternative URL, so the server may direct the visitor to the new web address. Also you can use custom-made error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven applications, like Drupal, Joomla and WordPress, use an .htaccess file to operate correctly.

.htaccess Generator in Shared Website Hosting

When you get any of our shared website hosting packages, you can reap the benefits of our user-friendly .htaccess generator tool, that is part of the Hepsia CP. You won't need to know what syntax the many directives in such a file should have, as our tool is easy to use and you'll only need to check boxes or type in URLs, so you can certainly use an .htaccess file even if you have never had a hosting account before. Our .htaccess generator provides a wide range of options - you could block IP addresses, set the first page that loads when someone opens your Internet site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You will even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans feature an .htaccess generator tool, that is simple enough to be used by people with zero previous experience. You'll be able to access it through your Hepsia CP and take advantage of an intuitive interface to enable any option you would like. After you choose the folder in which our system will set up the .htaccess file, you simply need to check the boxes beside the options that you'd like to activate, then save the changes and you shall be all set. The one thing you shall have to type in manually will be a URL - if you wish 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 allow you to set the PHP version that an Internet site will use by placing an .htaccess file inside its root folder, even if your account as a whole uses a different version.