With an .htaccess file, you can define how the web server that addresses the requests to your Internet sites should act a number of scenarios. This is a text file with directives that are carried out when someone tries to open your website and what happens next will depend on the content of the file. For example, you may block a particular IP address from opening your website, and the server will decline your visitor’s request, or you can redirect your domain name to a different URL, so the server may direct the visitor to the new web address. You could also use personalized error pages or protect any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, such as Joomla, Drupal 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 set up and use this sort of files without any issues even if you do not have previous experience and you do not know the syntax of the specific directives for this type of a file. The tool is part of the Hepsia Control Panel, supplied with our Linux hosting packages and any option in it may be enabled by choosing acheckbox and eventually by inputting a username or a URL, depending on what exactly you want to do with the .htaccess file. You may also select where the file should be created, so you won't need to do anything by hand after or before that. Using an .htaccess file, you'll be able to choose the PHP version which will be active for a given domain, regardless if it's not the same version as the one for the whole account.