With an .htaccess file, you shall define how the web server that handles the requests to your Internet sites should act in different occasions. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next depends on the content of the file. For instance, you could block a specific IP address from accessing the site, therefore the server will decline the visitor’s request, or you can forward your domain name to another URL, so the server will direct the visitor to the new web address. You could also use tailor-made error pages or secure any part of your site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven apps, such as WordPress, Drupal and Joomla, use an .htaccess file to operate efficiently.

.htaccess Generator in Shared Web Hosting

If you get any of our shared web hosting solutions, you can take advantage of our intuitive .htaccess generator tool, that's part of the Hepsia Control Panel. You'll not need to know what syntax the different directives in this kind of a file must have, because our tool is easy to use and you will only need to check boxes or enter URLs, so you can easily use an .htaccess file even in case you have never had a web hosting account before. Our .htaccess generator provides a lot of options - you can block IP addresses, set the first page that loads when somebody opens your site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You shall even be able to set a different PHP version for each one of your Internet sites.

.htaccess Generator in Semi-dedicated Servers

All our semi-dedicated hosting plans provide the revolutionary, albeit easy-to-use Hepsia Control Panel, that features our .htaccess generator tool. It'll permit you to create a system file in any folder that you pick with just a couple of clicks. Even if you're not tech-savvy, you can take advantage of all the features which an .htaccess file offers since our tool is very intuitive to use. There is also a list of all the options that you can activate and there shall be a checkbox next to each of them. Just choose the options you want to enable and eventually type a URL - if you are using the .htaccess file to redirect one URL to another or to set customized error pages. You'll not have to input any code at any time. If necessary, you can use an .htaccess file to use different versions of PHP for your sites, because a number of versions are available simultaneously on our website hosting platform.