With an .htaccess file, you'll define how the web server which manages the requests to your websites should act in different occasions. This is a text file with directives that are carried out when someone tries to open your site and what happens next depends on the content of the file. As an illustration, you can block a certain IP address from accessing the Internet site, therefore the server will decline your visitor’s request, or you can redirect your domain name to an alternative URL, so the server will redirect the visitor to the new web address. You may also use customized error pages or protect any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, including WordPress, Drupal and Joomla, use an .htaccess file to function properly.
.htaccess Generator in Shared Website Hosting
You may use an .htaccess file for any purpose on our revolutionary cloud platform irrespective of which Linux shared website hosting package you pick when you sign up. Furthermore, if you would like use one of the features that this type of a file offers, but you do not have a lot of experience, you can use our .htaccess generator tool, that shall offer you an easy-to-use interface where you can use checkboxes and enter only file names or URLs. This way, you can work with an .htaccess file even though you may not know the syntax of the directives that you need to use in general. With only a few clicks, you'll be able to forward a domain, to select an alternative homepage for an Internet site, or to even set a different version of PHP for a specific website, which may be different from the version which your website hosting account uses.