With an .htaccess file, you can specify how the web server which handles the requests to your websites should act a number of scenarios. This is a text file with directives that are carried out when somebody tries to open your site and what happens next will depend on the content of the file. As an illustration, you can block a particular IP address from accessing the website, which means that the server will decline your visitor’s request, or you can forward your domain name to a different URL, so the server will redirect the visitor to the new web address. You could also use custom error pages or secure any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven applications, such as Drupal, Joomla and WordPress, use an .htaccess file to work properly.
.htaccess Generator in Cloud Hosting
When you purchase any of our cloud hosting solutions, you can reap the benefits of our easy-to-use .htaccess generator tool, which is part of the Hepsia CP. You won't need to know what syntax the various directives in such a file must have, because our tool is a breeze to use and you will only need to check boxes or input URLs, so you can use an .htaccess file even if you have never had a web hosting account before. Our .htaccess generator offers a number of options - you may block IP addresses, set the first page that loads when somebody opens your site, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You shall even be able to set a different PHP version for each one of your sites.