With an .htaccess file, you shall specify how the web server that manages the requests to your web sites must act a number of occasions. 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. For instance, you can block a certain IP address from opening the site, so the server will decline the visitor’s request, or you can redirect your domain name to some other URL, so the server may redirect the visitor to the new web address. You may also use custom-made 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 applications, such as Joomla, Drupal and WordPress, use an .htaccess file to work properly.

.htaccess Generator in Website Hosting

We have an easy-to-use .htaccess generator tool that will enable you to create and use this kind of files with no trouble even if you have zero previous experience and you don't know the syntax of the particular directives for such a file. The tool is part of the Hepsia Control Panel, provided with our Linux website hosting packages and any option within it can be allowed by choosing acheckbox and eventually by inputting a username or a URL, in accordance with what exactly you would like to do with the .htaccess file. You may also choose where the file should be created, so you won't need to do anything manually after or before that. With an .htaccess file, you will also be able to pick the PHP version that'll be active for a given domain, even when it isn't the same version as the one for the whole account.