With an .htaccess file, you shall specify how the server which handles the requests to your Internet sites should act a number of scenarios. This is a text file with directives that are executed when someone tries to open your site and what happens next will depend on the content of the file. For instance, you can block a certain IP address from accessing the Internet site, therefore 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. Also you can use customized error pages or preserve any part of your website with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to work efficiently.

.htaccess Generator in Cloud Website Hosting

If you purchase any of our cloud website hosting solutions, you can take advantage of our easy-to-use .htaccess generator tool, which is part of the Hepsia Control Panel. You will not need to know what syntax the different directives in such a file must have, since our tool is a breeze to use and you'll only have to check boxes or type URLs, so you can use an .htaccess file even if you have never had a website hosting account before. Our .htaccess generator provides a large amount of options - you'll be able to block IP addresses, set the first page that loads when a person opens your website, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You'll even be able to set a different PHP version for each one of your websites.