With an .htaccess file, you can determine how the web server which deals with the requests to your web sites must act in different scenarios. This is a text file with directives that are executed when someone tries to open your website and what happens next will depend on the content of the file. As an illustration, you can block a certain IP address from accessing your website, and the server will decline the visitor’s request, or you can forward your domain to a different URL, so the server may direct the visitor to the new web address. You could also use personalized error pages or preserve any part of your website with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven applications, like Joomla, Drupal and WordPress, use an .htaccess file to function properly.

.htaccess Generator in Shared Hosting

If you purchase any of our shared hosting solutions, you can reap the benefits of our intuitive .htaccess generator tool, which is part of the Hepsia CP. You won't need to know what syntax the different directives in this kind of a file should have, since our tool is easy to use and you'll only need to check boxes or type URLs, so you can easily use an .htaccess file even when you have never had an Internet hosting account before. Our .htaccess generator offers a large amount of options - you can block IP addresses, set the first page that loads when a person opens your Internet site, create password protection, forward 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 Internet sites.