With an .htaccess file, you shall determine how the server which deals with the requests to your websites should act in different occasions. This is a text file with directives that are carried out when somebody tries to open your site and what happens next will depend on the content of the file. For instance, you could block a specific IP address from accessing your website, which means that the server will decline your 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 could also use tailor-made error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, including WordPress, Drupal and Joomla, use an .htaccess file to operate correctly.
.htaccess Generator in Shared Website Hosting
If you want to use any of the functions which an .htaccess file offers, but you haven't dealt with such matters before, you should use the .htaccess generator tool that comes with all of our shared website hosting plans. The tool is part of our in-house built Hepsia CP and it'll offer you a simple and user-friendly means to create an .htaccess file inside any folder that you have created in the account. Quite a few options will be available with checkboxes, so you should only select the one that you need and eventually type a URL - if you are using the file to forward a domain or to set custom made error pages for any of your Internet sites. As our cloud platform supports a number of different PHP versions, you shall also be able to set any of these versions for any of your sites even when it is different from the version set for your hosting account as a whole.