With an .htaccess file, you'll define how the web server that deals with the requests to your websites must act in different occasions. This is a text file with directives that are executed when someone tries to open your Internet site and what happens next depends on the content of the file. As an illustration, you may block a specific IP address from accessing the Internet site, and the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server will direct the visitor to the new web address. You could also use custom-made error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, such as WordPress, Drupal and Joomla, use an .htaccess file to function efficiently.

.htaccess Generator in Shared Web Hosting

When you acquire any of our shared web hosting solutions, you can reap the benefits of our user-friendly .htaccess generator tool, that is part of the Hepsia Control Panel. You'll not need to know what syntax the many directives in this sort of a file must have, because our tool is super easy to use and you shall only need to check boxes or enter URLs, so you can easily use an .htaccess file even if you have never had a web hosting account before. Our .htaccess generator provides a wide range of options - you can block IP addresses, set the first page that loads when somebody opens your website, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You will even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Servers

If you start a semi-dedicated server account with us, you will be able to use our powerful, albeit simple-to-use .htaccess generator tool, that's provided with the Hepsia hosting Control Panel. You could choose the folder in which the file shall be created and after that you'll simply have to select a checkbox next to every single option that you would like to use - it is as basic as that. If you would like to set up URL forwarding or to set custom error pages for any of your Internet sites, you shall also have to enter a web address, but you won't have to type in any special code at any time, so you can use our tool even if you do not have previous experience. As our revolutionary hosting platform supports several different versions of PHP, you'll also be able to select the version that any website shall use, even if it isn't like the one selected for the account in its entirety.