With an .htaccess file, you shall determine how the web server that manages the requests to your websites should act in different situations. This is a text file with directives that are carried out when an individual tries to open your site and what happens next depends on the content of the file. As an illustration, you may block a particular IP address from opening your website, and the server will decline the visitor’s request, or you can forward your domain name to some other URL, so the server will redirect the visitor to the new web address. Also you can use customized error pages or secure any part of your website with a password, if you place an .htaccess file in the correct folder. Many popular script-driven applications, such as Drupal, Joomla and WordPress, use an .htaccess file to work correctly.

.htaccess Generator in Shared Hosting

If you acquire any of our shared hosting packages, you can take advantage of our easy-to-use .htaccess generator tool, that is part of the Hepsia Control Panel. You shall not need to know what syntax the various directives in this type of a file need to have, because our tool is very simple to use and you will only need to check boxes or type URLs, so you can easily use an .htaccess file even in case you have never had an Internet hosting account before. Our .htaccess generator provides a large amount of options - you'll be able to block IP addresses, set the first page that loads when a person opens your Internet site, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You'll even be able to set a different PHP version for each one of your sites.

.htaccess Generator in Semi-dedicated Servers

All our Linux semi-dedicated plans include the sophisticated, albeit easy-to-use Hepsia Control Panel, that features our .htaccess generator tool. It will enable you to create a system file inside any folder of your choice with a couple of clicks. Even if you are not tech-savvy, you could take advantage of all the features an .htaccess file offers as our tool is extremely intuitive to use. You will find a list of all the options you can activate and there shall be a checkbox next to each one of them. Just choose the options that you want to activate and eventually type in a URL - if you're using the .htaccess file to forward one URL to another or to set custom error pages. You will not have to type any code at any time. If necessary, you may use an .htaccess file to employ different versions of PHP for your sites, since several versions are available simultaneously on our web hosting platform.