With an .htaccess file, you'll determine how the server that addresses the requests to your web sites must act in a variety of occasions. 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 instance, you could block a particular IP address from accessing the Internet site, so the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server will direct the visitor to the new web address. Also you can use custom error pages or protect any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, like Joomla, WordPress and Drupal, use an .htaccess file to operate properly.

.htaccess Generator in Cloud Hosting

When you acquire any of our cloud hosting solutions, you can reap the benefits of our easy-to-use .htaccess generator tool, that is part of the Hepsia CP. You won't need to know what syntax the various directives in this type of a file should have, as our tool is very simple to use and you will only need to check boxes or type in URLs, so you can easily use an .htaccess file even if you have never had an Internet hosting account before. Our .htaccess generator offers a lot of options - you can block IP addresses, set the first page that loads when a person opens your website, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You'll even be able to set a different PHP version for each of your sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server packages provide an .htaccess generator tool, that's simple enough to be used by people with no previous experience. You will be able to access it through your Hepsia CP and employ an easy-to-use interface to enable any option you would like. When you pick the folder where our system will create the .htaccess file, you only need to check the boxes next to the options which you want to activate, then save the changes and you will be ready. The only thing you will have to type manually will be a URL - if you'd like to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you want to use customized error pages. Our platform shall also permit you to set the PHP version that a site will use by putting an .htaccess file inside its root folder, even if your account as a whole uses a different version.