With an .htaccess file, you will define how the server that deals with the requests to your Internet sites should act in various situations. This is a text file with directives that are executed when someone tries to open your website and what happens next is determined by the content of the file. For example, you can block a certain IP address from accessing your website, therefore the server will decline the visitor’s request, or you can redirect your domain name to a different URL, so the server may redirect the visitor to the new web address. You may also use custom-made 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, like WordPress, Drupal and Joomla, use an .htaccess file to operate correctly.

.htaccess Generator in Shared Web Hosting

If you wish to use any of the features an .htaccess file provides, but you haven't dealt with this kind of matters before, you can use the .htaccess generator tool that comes with all our shared web hosting plans. The tool is part of our in-house built Hepsia Control Panel and it shall offer you a simple and intuitive means to create an .htaccess file inside any folder you have created in the account. Many options will be available with checkboxes, so you should only choose the one that you need and eventually type in a URL - if you are using the file to forward a domain or to set custom error pages for each of your websites. 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's different from the version set for your hosting account as a whole.