With an .htaccess file, you can define how the server which handles the requests to your web sites must act a number of situations. This is a text file with directives that are carried out when an individual tries to open your website and what happens next is determined by the content of the file. For example, you can block a specific IP address from opening the website, and the server will decline your visitor’s request, or you can redirect your domain to another URL, so the server will redirect 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 popular script-driven applications, like Drupal, Joomla and WordPress, use an .htaccess file to work correctly.
.htaccess Generator in Shared Web Hosting
We have an easy-to-use .htaccess generator tool that will permit you to create and use this type of files without difficulties even if you have zero previous experience and you don't know the syntax of the specific directives for such a file. The tool is part of the Hepsia CP, provided with our Linux shared web hosting and any option within it could be enabled by picking acheckbox and eventually by entering a username or a URL, based on what exactly you would like to do with the .htaccess file. You can also choose where the file should be created, so you will not need to do anything manually before or after that. Using an .htaccess file, you shall also be able to choose the PHP version that'll be active for a particular domain, even if it is not the same version as the one for the whole account.