With an .htaccess file, you will define how the web server that handles the requests to your web sites should act a number of situations. This is a text file with directives that are executed when somebody tries to open your site and what happens next will depend on the content of the file. As an example, you could block a certain IP address from opening the Internet site, and the server will decline your visitor’s request, or you can redirect your domain to an alternative URL, so the server may redirect the visitor to the new web address. Also you can use customized error pages or secure any part of your website with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, such as WordPress, Drupal and Joomla, use an .htaccess file to function properly.
.htaccess Generator in Shared Web Hosting
We have an easy-to-work-with .htaccess generator tool that will allow you to set up and use such files without difficulty even if you don't have any previous experience and you do not know the syntax of the respective directives for such a file. The tool is part of the Hepsia CP, which comes with our shared web hosting and any option in it can be enabled by selecting acheckbox and eventually by inputting a username or a URL, depending on what exactly you need to do with the .htaccess file. You may also decide where the file should be created, so you won't have to do anything by hand after or before that. By using an .htaccess file, you shall also be able to pick the PHP version that will be enabled for a particular domain, regardless if it is not the same version as the one for the entire account.