With an .htaccess file, you shall define how the server that handles the requests to your web sites must act in different occasions. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next depends on the content of the file. For example, you can block a certain IP address from opening the website, and the server will decline your visitor’s request, or you can redirect your domain to an alternative URL, so the server will redirect the visitor to the new web address. You may also use custom error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, such as WordPress, Drupal and Joomla, use an .htaccess file to function efficiently.
.htaccess Generator in Shared Hosting
We have an easy-to-work-with .htaccess generator tool that will allow you to set up and use this sort of files with no trouble even if you have zero previous experience and you don't know the syntax of the respective directives for this sort of a file. The tool is part of the Hepsia Control Panel, offered with our shared hosting and any option inside it can be allowed by selecting acheckbox and eventually by inputting a username or a URL, based on what exactly you intend to do with the .htaccess file. You can also decide where the file should be created, so you will not need to do anything manually before or after that. Through an .htaccess file, you will also be able to choose the PHP version that will be active for a given domain, regardless if it is not the same version as the one for the whole account.
.htaccess Generator in Semi-dedicated Servers
All our semi-dedicated servers include the advanced, yet easy-to-use Hepsia CP, which includes our .htaccess generator tool. It shall permit you to create a system file inside any folder that you choose with several clicks. Even if you're not tech-savvy, you can benefit from all the functions which an .htaccess file features as our tool is incredibly intuitive to use. You'll find a list of all the options that you can activate and there shall be a checkbox next to each of them. Just choose the options that you want to enable and eventually type in a URL - if you are using the .htaccess file to forward one URL to another or to set customized error pages. You'll not have to enter any code at any time. If needed, you may use an .htaccess file to use different versions of PHP for your sites, due to the fact that a number of versions are available simultaneously on our web hosting platform.