With an .htaccess file, you shall specify how the web server which deals with the requests to your web sites have to act in a variety of situations. This is a text file with directives that are carried out when someone tries to open your Internet site and what happens next will depend on the content of the file. For instance, you could block a certain IP address from accessing the website, and the server will decline your visitor’s request, or you can forward your domain name to some other URL, so the server will direct the visitor to the new web address. You can also use tailor-made error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, including WordPress, Drupal and Joomla, use an .htaccess file to work properly.
.htaccess Generator in Cloud Hosting
If you obtain any of our cloud hosting solutions, you can benefit from our easy-to-use .htaccess generator tool, that is part of the Hepsia CP. You will not need to know what syntax the different directives in this type of a file need to have, because our tool is very simple to use and you will only need to check boxes or enter URLs, so you can use an .htaccess file even when you have never had a hosting account before. Our .htaccess generator provides a wide range of options - you may block IP addresses, set the first page that loads when an individual opens your Internet site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You'll even be able to set a different PHP version for each of your Internet sites.