With an .htaccess file, you can define how the server which deals with the requests to your Internet sites have to act in a variety of occasions. This is a text file with directives that are performed when an individual tries to open your site and what happens next is determined by the content of the file. For instance, you may block a specific IP address from accessing the website, so the server will decline the visitor’s request, or you can forward your domain name to some other URL, so the server may redirect the visitor to the new web address. You could also use custom error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to function correctly.
.htaccess Generator in Web Hosting
We have an easy-to-work-with .htaccess generator tool that will permit you to set up and use this kind of files without any difficulties even if you don't have previous experience and you don't know the syntax of the specific directives for this type of a file. The tool is part of the Hepsia Control Panel, offered with our Linux web hosting packages and any option inside it could be allowed by choosing acheckbox and eventually by typing a username or a URL, based upon what exactly you want to do with the .htaccess file. You can also select where the file should be created, so you won't have to do anything by hand before or after that. Using an .htaccess file, you shall also be able to pick the PHP version that'll be active for a specific domain, regardless if it's not the same version as the one for the whole account.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server packages include an .htaccess generator tool, that's easy enough to be used by individuals with no previous experience. You will be able to access it using your Hepsia Control Panel and employ a user-friendly interface to enable any option you want. After you pick the folder where our system will create the .htaccess file, you only need to check the boxes beside the options which you want to activate, then save the changes and you will be set. The only thing you shall have to input manually shall be a URL - if you wish 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 permit you to set the PHP version that a website will use by placing an .htaccess file in its root folder, no matter if your account in general uses a different version.