With an .htaccess file, you shall specify how the web server that manages the requests to your web sites should act in different situations. This is a text file with directives that are carried out when someone tries to open your website and what happens next is determined by the content of the file. As an example, you can block a specific IP address from opening the Internet site, therefore the server will decline the visitor’s request, or you can redirect your domain to some other URL, so the server will redirect the visitor to the new web address. You can also use custom error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven applications, including WordPress, Drupal and Joomla, use an .htaccess file to work correctly.
.htaccess Generator in Cloud Web Hosting
We have an easy-to-use .htaccess generator tool which will allow you to create and use this sort of files with no difficulty even if you have zero previous experience and you do not know the syntax of the respective directives for such a file. The tool is part of the Hepsia Control Panel, which comes with our Linux cloud web hosting service and any option within it could be enabled by choosing acheckbox and eventually by inputting a username or a URL, based upon what exactly you need to do with the .htaccess file. You can also select where the file should be created, so you shall not have to do anything manually after or before that. Using an .htaccess file, you'll also be able to pick the PHP version that will be active for a given domain, no matter if it's not the same version as the one for the entire account.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server packages provide an .htaccess generator tool, that's simple enough to be used by individuals with zero previous experience. You'll be able to access it using your Hepsia CP and take advantage of a user-friendly interface to enable any option you would like. As soon as you choose the folder in which our system will create the .htaccess file, you only need to check the boxes next to the options that you'd like to enable, then save the changes and you'll be set. The only thing you will have to input manually will be a URL - if you would like to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you prefer to use customized error pages. Our platform shall also enable you to set the PHP version that a site will use by placing an .htaccess file inside its root folder, no matter if your account in its entirety uses a different version.