With an .htaccess file, you'll define how the server that deals with the requests to your websites should act in a variety of occasions. This is a text file with directives that are performed when someone tries to open your site and what happens next depends on the content of the file. As an example, you can block a specific IP address from accessing the Internet site, which means that the server will decline your visitor’s request, or you can redirect your domain name to some other URL, so the server will direct the visitor to the new web address. You could also use personalized error pages or preserve any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, like WordPress, Joomla and Drupal, use an .htaccess file to work efficiently.

.htaccess Generator in Cloud Web Hosting

If you acquire any of our cloud web hosting plans, you can benefit from our user-friendly .htaccess generator tool, that's part of the Hepsia CP. You will not need to know what syntax the many directives in this type of a file need to have, since our tool is very simple to use and you shall only need to check boxes or type in URLs, so you can easily use an .htaccess file even if you have never had a web hosting account before. Our .htaccess generator provides a wide range of options - you can block IP addresses, set the first page that loads when someone opens your site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You shall even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Servers

All our semi-dedicated plans include the innovative, yet easy-to-use Hepsia Control Panel, which incorporates our .htaccess generator tool. It will allow you to create a system file within any folder of your choice with only a few mouse clicks. Even if you are not tech-savvy, you can take full advantage of all the features which an .htaccess file features as our tool is very intuitive to use. There is also a list of all the options that you can enable and there will be a checkbox next to each of them. Just select the options which you want to activate and eventually enter a URL - if you are using the .htaccess file to redirect one URL to another or to set custom error pages. You'll not have to enter any code at any time. If needed, you could use an .htaccess file to use different versions of PHP for your websites, since several versions are available simultaneously on our website hosting platform.