With an .htaccess file, you can define how the server which manages the requests to your Internet sites must act a number of occasions. This is a text file with directives that are carried out when somebody tries to open your website and what happens next is determined by the content of the file. As an example, you could block a specific IP address from opening the website, so the server will decline the visitor’s request, or you can forward your domain to some other URL, so the server will direct the visitor to the new web address. You may also use tailor-made error pages or preserve 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 WordPress, Joomla and Drupal, use an .htaccess file to function correctly.

.htaccess Generator in Website Hosting

When you obtain any of our website hosting packages, you can take advantage of our easy-to-use .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, since our tool is very easy to use and you'll only have to check boxes or type in URLs, so you can use an .htaccess file even when you have never had a web hosting account before. Our .htaccess generator provides a wide range of options - you could block IP addresses, set the first page that loads when someone opens your Internet site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You will even be able to set a different PHP version for each one of your sites.

.htaccess Generator in Semi-dedicated Servers

All our semi-dedicated servers provide the innovative, yet easy-to-use Hepsia Control Panel, that features our .htaccess generator tool. It will permit you to create a system file in any folder of your choice with a few clicks. Even if you're not tech-savvy, you could take full advantage of all the functions that an .htaccess file offers as our tool is very intuitive to use. You'll find a list of all the options that you can enable and there will be a checkbox next to each and every one of them. Just choose the options that you'd like to enable and eventually enter a URL - if you are using the .htaccess file to forward one URL to another or to set customized error pages. You won't have to type in any code at any time. If needed, you may use an .htaccess file to employ different versions of PHP for your Internet sites, because several versions are available simultaneously on our website hosting platform.