With an .htaccess file, you will define how the server which deals with the requests to your websites should act in various scenarios. 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. As an example, you may 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 a different URL, so the server may direct the visitor to the new web address. Also you can use customized error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, such as Joomla, WordPress and Drupal, use an .htaccess file to work properly.
.htaccess Generator in Shared Hosting
If you would like to use any of the functions which an .htaccess file offers, but you have not dealt with this type of matters before, you can use the .htaccess generator tool that comes with all our shared hosting solutions. The tool is part of our in-house built Hepsia CP and it shall offer you an easy and user-friendly means to set up an .htaccess file inside any folder that you have created within the account. A huge number of options will be available with checkboxes, so you should only select the one you need and eventually type in a URL - if you are using the file to redirect a domain or to set custom error pages for any of your sites. Considering that our cloud platform supports a number of PHP versions, you will also 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.