With an .htaccess file, you'll define how the web server that addresses the requests to your Internet sites should act in a variety of situations. This is a text file with directives that are executed when someone tries to open your Internet site and what happens next depends on the content of the file. For instance, you can block a certain IP address from opening the Internet site, and the server will decline your visitor’s request, or you can forward your domain name to an alternative URL, so the server may redirect the visitor to the new web address. You may also use tailor-made error pages or protect any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, such as WordPress, Joomla and Drupal, use an .htaccess file to operate efficiently.

.htaccess Generator in Shared Web Hosting

We have a time and effort saving .htaccess generator tool that will permit you to create and use such files with no issues even if you have no previous experience and you don't know the syntax of the particular directives for this sort of a file. The tool is part of the Hepsia CP, included with our Linux shared web hosting packages and any option within it can be enabled by choosing acheckbox and eventually by entering a username or a URL, based on what exactly you need to do with the .htaccess file. You could also select where the file should be created, so you will not need to do anything by hand after or before that. By using an .htaccess file, you'll be able to select the PHP version which will be enabled for a particular domain, regardless if it's not the same version as the one for the whole account.