With an .htaccess file, you'll determine how the web server that deals with the requests to your websites must act in various scenarios. This is a text file with directives that are executed when an individual tries to open your site and what happens next is determined by the content of the file. As an example, you may block a particular IP address from accessing your website, which means that the server will decline your visitor’s request, or you can forward your domain name to some other URL, so the server may redirect the visitor to the new web address. You may also use customized error pages or shield any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, like Joomla, WordPress and Drupal, use an .htaccess file to operate properly.

.htaccess Generator in Shared Website Hosting

If you acquire any of our shared website hosting solutions, you can benefit from our intuitive .htaccess generator tool, that is part of the Hepsia Control Panel. You won't need to know what syntax the different directives in such a file must have, because our tool is easy 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 offers a lot of options - you could block IP addresses, set the first page that loads when somebody opens your site, 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

All our semi-dedicated plans come with the advanced, yet easy-to-use Hepsia Control Panel, which incorporates our .htaccess generator tool. It will permit you to create a system file in any folder that you choose with just several clicks. Even if you are not tech-savvy, you may benefit from all the functions that an .htaccess file features as our tool is extremely intuitive to use. There is also a list of all the options which you can activate and there shall be a checkbox next to each of them. Just select the options that you want to activate and eventually type in a URL - if you are using the .htaccess file to forward one URL to another or to set custom error pages. You'll not have to type any code at any time. If needed, you could use an .htaccess file to use different versions of PHP for your Internet sites, as several versions are available simultaneously on our website hosting platform.