With an .htaccess file, you can specify how the web server that manages the requests to your websites have to act a number of scenarios. This is a text file with directives that are carried out when somebody tries to open your site and what happens next depends on the content of the file. For instance, you can block a certain IP address from opening the site, which means that 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. You may also use custom-made error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, such as WordPress, Drupal and Joomla, use an .htaccess file to function properly.

.htaccess Generator in Cloud Hosting

When you acquire any of our cloud hosting solutions, you can take advantage of our user-friendly .htaccess generator tool, which is part of the Hepsia CP. You shall not need to know what syntax the different directives in this type of a file should have, since our tool is very easy to use and you shall only need to check boxes or type URLs, so you can use an .htaccess file even in case you have never had a website hosting account before. Our .htaccess generator offers a wide range of options - you could block IP addresses, set the first page that loads when somebody opens your website, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You'll even be able to set a different PHP version for each of your websites.

.htaccess Generator in Semi-dedicated Servers

The semi-dedicated hosting plans which we offer include an efficient, but user-friendly .htaccess generator tool, that will provide you with the opportunity to use this type of a file for any purpose even if you are not too experienced. The tool is incorporated into the Hepsia CP and has the same intuitive interface. If you'd like to use some of the options which can be enabled with an .htaccess file, you just have to check the box next to it inside the list that you will find when you open the tool. Also you can choose in which directory of your account the file will be created and you shall be all set. An .htaccess file could also be used to set a PHP version for a specific site which differs from the version which the account itself uses. Should you have any difficulties, we have detailed help articles and educational videos that shall demonstrate first-hand how to activate any option available in the tool.