With an .htaccess file, you'll define how the web server which deals with the requests to your Internet sites have to act in different situations. This is a text file with directives that are carried out when someone tries to open your site and what happens next depends on the content of the file. For instance, you could block a particular IP address from accessing the Internet site, which means that the server will decline the visitor’s request, or you can forward your domain to some other URL, so the server may redirect the visitor to the new web address. You may also use personalized error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, including Drupal, Joomla and WordPress, use an .htaccess file to function correctly.

.htaccess Generator in Website Hosting

If you acquire any of our website hosting plans, you can take full advantage of our intuitive .htaccess generator tool, that's part of the Hepsia CP. You won't need to know what syntax the various directives in this sort of a file need to have, since our tool is a breeze to use and you shall only have to check boxes or type in 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 are able to block IP addresses, set the first page that loads when a person opens your website, set up 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 one of your websites.