With an .htaccess file, you will define how the web server which deals with the requests to your Internet sites must act a number of situations. This is a text file with directives that are carried out when someone tries to open your site and what happens next depends on the content of the file. For example, you could block a specific IP address from accessing the Internet site, and the server will decline your visitor’s request, or you can forward your domain name to some other URL, so the server will direct the visitor to the new web address. You can also use custom error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, including WordPress, Joomla and Drupal, use an .htaccess file to work efficiently.
.htaccess Generator in Website Hosting
If you wish to use any of the functions that an .htaccess file provides, but you have not dealt with this sort of matters before, you need to use the .htaccess generator tool that comes with all our website hosting solutions. The tool is part of our in-house built Hepsia Control Panel and it will provide you with a simple and intuitive means to create an .htaccess file inside any folder that you have created within the account. Many options shall be available with checkboxes, so you should only select the one you need and eventually type a URL - if you are using the file to forward a domain or to set customized error pages for each of your Internet sites. As our cloud platform supports a variety of PHP versions, you'll also be able to set any of these versions for each of your websites regardless if it's different from the version set for your web hosting account as a whole.