With an .htaccess file, you'll determine how the server that handles the requests to your web sites have to act in a variety of situations. This is a text file with directives that are executed when somebody tries to open your site and what happens next depends on the content of the file. For example, you could block a certain IP address from opening the website, so 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 customized error pages or protect any part of your website with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, such as Joomla, WordPress and Drupal, use an .htaccess file to operate correctly.
.htaccess Generator in Website Hosting
If you want to use any of the features which an .htaccess file provides, but you haven't dealt with this type of matters before, you can use the .htaccess generator tool that comes with all our website hosting packages. The tool is part of our in-house built Hepsia CP and it'll give you an uncomplicated and user-friendly means to create an .htaccess file in any folder you have created inside the account. Many options will be available with checkboxes, so you should only pick the one that you need and eventually input a URL - if you are using the file to forward a domain or to set custom made error pages for each of your Internet sites. Because our cloud platform supports many different PHP versions, you'll also be able to set any of these versions for any of your Internet sites even when it is different from the version set for your website hosting account as a whole.