With an .htaccess file, you shall specify how the server that handles the requests to your Internet sites should act in a variety of occasions. This is a text file with directives that are performed when an individual tries to open your website and what happens next is determined by the content of the file. For instance, you can block a specific IP address from accessing the site, and the server will decline the visitor’s request, or you can forward your domain to an alternative URL, so the server will direct the visitor to the new web address. Also you can use customized error pages or protect any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, like Joomla, WordPress and Drupal, use an .htaccess file to function correctly.
.htaccess Generator in Cloud Web Hosting
We have an easy-to-use .htaccess generator tool which will allow you to set up and use this type of files with no trouble even if you don't have previous experience and you don't know the syntax of the specific directives for this kind of a file. The tool is part of the Hepsia Control Panel, supplied with our Linux cloud web hosting and any option in it could be allowed by picking acheckbox and eventually by typing a username or a URL, in accordance with what exactly you would like to do with the .htaccess file. You can also select where the file should be created, so you won't need to do anything manually after or before that. Using an .htaccess file, you'll be able to pick the PHP version that will be active for a given domain, even when it isn't the same version as the one for the whole account.