With an .htaccess file, you can determine how the web server that deals with the requests to your Internet sites should act in different cases. This is a text file with directives that are executed when somebody tries to open your website and what happens next depends on the content of the file. For example, you can block a particular IP address from opening the Internet site, which means that the server will decline the visitor’s request, or you can redirect your domain name to an alternative URL, so the server may redirect the visitor to the new web address. Also you can use personalized error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, including WordPress, Joomla and Drupal, use an .htaccess file to function correctly.

.htaccess Generator in Cloud Hosting

When you obtain any of our cloud hosting packages, you can take full advantage of our user-friendly .htaccess generator tool, that is part of the Hepsia Control Panel. You will not need to know what syntax the many directives in this kind of a file must have, as our tool is very easy to use and you'll only need to check boxes or type URLs, so you can use an .htaccess file even if you have never had a website hosting account before. Our .htaccess generator provides a large amount of options - you may block IP addresses, set the first page that loads when somebody opens your website, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You shall even be able to set a different PHP version for each of your websites.

.htaccess Generator in Semi-dedicated Servers

The Linux semi-dedicated servers which we provide include an efficient, but time and effort saving .htaccess generator tool, that will give you the chance to use such a file for any purpose even when you are not 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 that could be enabled through an .htaccess file, you just need to check the box next to it within the list that you shall find when you open the tool. You can even pick in which directory of your account the file will be created and you shall be ready. An .htaccess file can be used to set a PHP version for a certain website that is different from the version which the account itself uses. If you have any issues, we have in-depth help articles and video tutorials that will demonstrate first-hand how to activate any option that is available inside the tool.