With an .htaccess file, you can determine how the server which addresses the requests to your Internet sites must act in various cases. This is a text file with directives that are performed when an individual tries to open your Internet site and what happens next is determined by the content of the file. As an example, you could block a specific IP address from accessing your website, and the server will decline the visitor’s request, or you can forward your domain to an alternative URL, so the server may redirect the visitor to the new web address. Also you can use custom error pages or protect any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, like WordPress, Drupal and Joomla, use an .htaccess file to work correctly.

.htaccess Generator in Shared Hosting

If you acquire any of our shared hosting packages, you can benefit from our easy-to-use .htaccess generator tool, that's part of the Hepsia CP. You will not need to know what syntax the various directives in this type of a file must have, since our tool is very easy to use and you will only have to check boxes or type URLs, so you can certainly use an .htaccess file even if you have never had a website hosting account before. Our .htaccess generator offers a large amount 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 of your sites.