With an .htaccess file, you'll specify how the server which handles the requests to your Internet sites have to act in a variety of scenarios. This is a text file with directives that are executed when somebody tries to open your Internet site and what happens next will depend on the content of the file. As an illustration, you could block a specific IP address from accessing the website, therefore the server will decline your visitor’s request, or you can redirect your domain name to a different URL, so the server may redirect the visitor to the new web address. You may also use custom error pages or secure any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven applications, like Drupal, Joomla and WordPress, use an .htaccess file to function efficiently.
.htaccess Generator in Hosting
We have a time and effort saving .htaccess generator tool that will allow you to create and use this type of files with no trouble even if you don't have previous experience and you do not know the syntax of the particular directives for this sort of a file. The tool is part of the Hepsia CP, supplied with our Linux hosting packages and any option inside it could be enabled by choosing acheckbox and eventually by entering a username or a URL, based on what exactly you intend to do with the .htaccess file. You can also select where the file should be created, so you won't have to do anything manually before or after that. Through an .htaccess file, you'll also be able to pick the PHP version that will be enabled for a given domain, regardless if it's not the same version as the one for the whole account.