With an .htaccess file, you'll define how the server which handles the requests to your websites have to act in a variety of occasions. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next depends on the content of the file. As an example, you could block a certain IP address from opening your website, which means that the server will decline your visitor’s request, or you can redirect your domain name to an alternative URL, so the server will direct the visitor to the new web address. You could also use custom-made 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, including Joomla, WordPress and Drupal, use an .htaccess file to function properly.

.htaccess Generator in Shared Website Hosting

When you purchase any of our shared website hosting plans, you can reap the benefits of our user-friendly .htaccess generator tool, that is part of the Hepsia CP. You won't need to know what syntax the many directives in this kind of a file should have, because our tool is easy to use and you'll only have to check boxes or input URLs, so you can easily use an .htaccess file even in case you have never had a hosting account before. Our .htaccess generator offers a substantial amount of options - you could block IP addresses, set the first page that loads when a person opens your website, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You will even be able to set a different PHP version for each one of your Internet sites.