With an .htaccess file, you can specify how the web server that handles the requests to your websites should act in a variety of cases. This is a text file with directives that are carried out when somebody tries to open your site and what happens next is determined by the content of the file. As an illustration, you can block a particular IP address from opening the website, therefore the server will decline your visitor’s request, or you can forward your domain to a different URL, so the server may redirect the visitor to the new web address. Also you can use customized error pages or preserve any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, including Joomla, Drupal and WordPress, use an .htaccess file to operate correctly.
.htaccess Generator in Web Hosting
If you wish to use any of the features that an .htaccess file provides, but you have not dealt with this type of matters before, you should use the .htaccess generator tool provided with our web hosting solutions. The tool is part of our in-house built Hepsia CP and it shall offer you a simple and user-friendly means to create an .htaccess file in any folder which you have created within the account. A huge number of options will be available with checkboxes, so you should only select the one you need and eventually input a URL - if you are using the file to redirect a domain or to set personalized error pages for each of your websites. Considering that our cloud platform supports a variety of PHP versions, you'll also be able to set any of these versions for each of your Internet sites regardless if it's different from the version set for your hosting account as a whole.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server solutions feature an .htaccess generator tool, that is easy enough to be used by individuals with no previous experience. You will be able to access it through your Hepsia Control Panel and employ an intuitive interface to enable any option you need. After you pick the folder where our system will set up the .htaccess file, you simply need to check the boxes next to the options which you want to enable, then save the changes and you will be good to go. The only thing you'll have to type by hand will be a URL - if you wish to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you would like to use custom made error pages. Our platform shall also permit you to set the PHP version that an Internet site will use by putting an .htaccess file inside its root folder, no matter if your account as a whole uses a different version.