With an .htaccess file, you shall determine how the web server that handles the requests to your web sites should act in various scenarios. This is a text file with directives that are carried out when someone tries to open your Internet site and what happens next depends on the content of the file. For example, you may block a certain IP address from accessing the website, and the server will decline the visitor’s request, or you can forward your domain to an alternative URL, so the server may direct 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 in the correct folder. Many popular script-driven applications, including Drupal, Joomla and WordPress, use an .htaccess file to operate efficiently.

.htaccess Generator in Shared Web Hosting

If you purchase any of our shared web hosting plans, you can benefit from our intuitive .htaccess generator tool, that's part of the Hepsia Control Panel. You will not need to know what syntax the many directives in this sort of a file need to have, as our tool is easy to use and you'll only have to check boxes or enter URLs, so you can use an .htaccess file even if you have never had an Internet hosting account before. Our .htaccess generator gives a lot of options - you may block IP addresses, set the first page that loads when someone opens your website, 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 of your websites.

.htaccess Generator in Semi-dedicated Servers

All our Linux semi-dedicated servers feature the innovative, albeit easy-to-use Hepsia Control Panel, which incorporates our .htaccess generator tool. It shall allow you to create a system file inside any folder that you choose with only a couple of mouse clicks. Even if you are not tech-savvy, you can take advantage of all the features which an .htaccess file provides because our tool is quite intuitive to use. You'll find a list of all the options which you can activate and there will be a checkbox next to each and every one of them. Just select the options which you want to enable and eventually input a URL - if you are using the .htaccess file to redirect one URL to another or to set customized error pages. You won't have to type any code at any time. If necessary, you could use an .htaccess file to use different versions of PHP for your websites, since many versions are available simultaneously on our website hosting platform.