With an .htaccess file, you'll specify how the web server which addresses the requests to your web sites should act in different occasions. This is a text file with directives that are carried out when an individual tries to open your site and what happens next is determined by the content of the file. For example, you could block a specific IP address from accessing the website, so the server will decline the visitor’s request, or you can redirect your domain to a different URL, so the server may direct the visitor to the new web address. You can also use customized error pages or shield any part of your site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, including WordPress, Drupal and Joomla, use an .htaccess file to work efficiently.

.htaccess Generator in Web Hosting

We have an easy-to-work-with .htaccess generator tool that will enable you to create and use this type of files without trouble even if you have zero previous experience and you don't know the syntax of the specific directives for this sort of a file. The tool is part of the Hepsia CP, provided with our Linux web hosting and any option inside it can be enabled by picking acheckbox and eventually by typing a username or a URL, based on what exactly you would like to do with the .htaccess file. You can also select where the file should be created, so you shall not need to do anything manually after or before that. Using an .htaccess file, you will also be able to choose the PHP version that'll be enabled for a particular domain, regardless if it is not the same version as the one for the entire account.