With an .htaccess file, you will define how the web server which addresses the requests to your web sites should act in various scenarios. This is a text file with directives that are carried out when somebody tries to open your website and what happens next depends on the content of the file. For example, you could block a particular IP address from accessing the website, so 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 can also use custom error pages or secure any part of your website with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, including Joomla, Drupal and WordPress, use an .htaccess file to work efficiently.
.htaccess Generator in Cloud Web Hosting
When you get any of our cloud web hosting solutions, you can reap the benefits of our intuitive .htaccess generator tool, that's part of the Hepsia Control Panel. You will not need to know what syntax the various directives in such a file need to have, as our tool is very 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 website hosting account before. Our .htaccess generator provides a substantial amount of options - you may 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 more. You'll even be able to set a different PHP version for each one of your sites.