With an .htaccess file, you shall define how the web server that manages the requests to your websites should act in various occasions. This is a text file with directives that are executed when an individual tries to open your Internet site and what happens next will depend on the content of the file. As an illustration, you can block a specific IP address from accessing the website, which means that the server will decline the visitor’s request, or you can redirect your domain to a different URL, so the server will direct the visitor to the new web address. You could also use custom-made error pages or shield any part of your site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven applications, like WordPress, Drupal and Joomla, use an .htaccess file to work efficiently.

.htaccess Generator in Cloud Website Hosting

We have an easy-to-work-with .htaccess generator tool which will allow you to set up and use this type of files without difficulty even if you don't have previous experience and you do not know the syntax of the respective directives for such a file. The tool is part of the Hepsia Control Panel, included with our Linux cloud website hosting and any option in it can be enabled by choosing acheckbox and eventually by entering a username or a URL, based upon what exactly you would like to do with the .htaccess file. You could also decide where the file should be created, so you will not need to do anything manually after or before that. By using an .htaccess file, you'll also be able to choose the PHP version that'll be active for a given domain, regardless if it is not the same version as the one for the entire account.