With an .htaccess file, you will specify how the web server that manages the requests to your web sites should act in different situations. This is a text file with directives that are executed when an individual tries to open your website and what happens next depends on the content of the file. For instance, you may block a particular IP address from opening the site, therefore the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server may direct the visitor to the new web address. You may also use tailor-made error pages or protect any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, such as WordPress, Joomla and Drupal, use an .htaccess file to function efficiently.
.htaccess Generator in Cloud Website Hosting
When you purchase any of our cloud website hosting plans, you can take full advantage of our user-friendly .htaccess generator tool, that is part of the Hepsia Control Panel. You will not need to know what syntax the different directives in such a file should have, because our tool is very easy to use and you'll only have to check boxes or input URLs, so you can use an .htaccess file even when you have never had a hosting account before. Our .htaccess generator provides a number of options - you may 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 more. You'll even be able to set a different PHP version for each one of your websites.