With an .htaccess file, you will specify how the server which manages the requests to your websites must act in various scenarios. This is a text file with directives that are performed when an individual tries to open your site and what happens next will depend on the content of the file. As an illustration, you could block a specific IP address from accessing the Internet site, so the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server may direct the visitor to the new web address. You may also use customized error pages or preserve any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, like Joomla, WordPress and Drupal, use an .htaccess file to function correctly.

.htaccess Generator in Hosting

When you get any of our hosting solutions, you can benefit from our intuitive .htaccess generator tool, that's part of the Hepsia CP. You'll not need to know what syntax the many directives in this sort of a file need to have, since our tool is a breeze to use and you shall only need to check boxes or type in URLs, so you can use an .htaccess file even if you have never had a website hosting account before. Our .htaccess generator offers a wide range of options - you can block IP addresses, set the first page that loads when an individual opens your Internet site, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You'll even be able to set a different PHP version for each of your websites.