With an .htaccess file, you shall determine how the web server that deals with the requests to your Internet sites must act in various situations. This is a text file with directives that are carried out when somebody tries to open your Internet site and what happens next will depend on the content of the file. For example, you could block a certain IP address from accessing the website, therefore the server will decline your visitor’s request, or you can redirect your domain name to some other URL, so the server may direct the visitor to the new web address. You may also use custom error pages or shield any part of your site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, such as Drupal, Joomla and WordPress, use an .htaccess file to operate correctly.

.htaccess Generator in Hosting

When you purchase any of our hosting plans, you can take full advantage of our easy-to-use .htaccess generator tool, which is part of the Hepsia CP. You will not need to know what syntax the various directives in this sort of a file should have, as our tool is super easy to use and you shall only have to check boxes or input 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 wide range of options - you are able to block IP addresses, set the first page that loads when somebody opens your Internet site, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You shall even be able to set a different PHP version for each of your websites.