With an .htaccess file, you will determine how the server that manages the requests to your web sites must act in various cases. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next is determined by the content of the file. As an example, you may block a specific IP address from opening the website, so the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server may direct the visitor to the new web address. You can also use custom-made error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, like Joomla, WordPress and Drupal, use an .htaccess file to work correctly.
.htaccess Generator in Hosting
If you wish to use any of the functionalities an .htaccess file offers, but you have not dealt with this sort of matters before, you can use the .htaccess generator tool included with all of our hosting packages. The tool is part of our in-house built Hepsia Control Panel and it will give you an uncomplicated and intuitive means to create an .htaccess file in any folder that you have created inside the account. A huge number of options will be available with checkboxes, so you should only choose the one you need and eventually input a URL - if you are using the file to forward a domain or to set personalized error pages for any of your Internet sites. Considering that our cloud platform supports many different PHP versions, you will also be able to set any of these versions for each of your Internet sites even when it's different from the version set for your hosting account as a whole.