With an .htaccess file, you'll determine how the server that deals with the requests to your web sites must act in a variety of scenarios. This is a text file with directives that are carried out when an individual tries to open your website and what happens next depends on the content of the file. For instance, you can block a certain IP address from accessing the website, and the server will decline the visitor’s request, or you can redirect your domain to some other URL, so the server may direct the visitor to the new web address. You can also use customized error pages or secure any part of your website with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, including Drupal, Joomla and WordPress, use an .htaccess file to function efficiently.
.htaccess Generator in Shared Hosting
If you would like to use any of the features that an .htaccess file offers, but you haven't dealt with this type of matters before, you need to use the .htaccess generator tool offered with all of our shared hosting solutions. The tool is part of our in-house built Hepsia CP and it'll give you an easy and user-friendly means to create an .htaccess file inside any folder that you've created within the account. Many options will be available with checkboxes, so you should only pick the one which you need and eventually input a URL - if you are using the file to forward a domain or to set custom error pages for any of your websites. Since our cloud platform supports a number of different PHP versions, you'll be able to set any of these versions for each of your websites even if it's different from the version set for your Internet hosting account as a whole.