With an .htaccess file, you will specify how the server that addresses the requests to your websites must act in different cases. This is a text file with directives that are executed when someone tries to open your website and what happens next will depend on the content of the file. As an example, you can block a specific IP address from accessing the Internet site, therefore the server will decline the visitor’s request, or you can forward your domain name to a different URL, so the server will redirect the visitor to the new web address. You could also use custom-made error pages or shield any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, including Joomla™, Drupal™ and WordPress, use an .htaccess file to work efficiently.
.htaccess Generator in Shared Hosting
If you want to use any of the features which an .htaccess file provides, but you haven't dealt with this kind of matters before, you need to use the .htaccess generator tool that comes with all our shared 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 set up an .htaccess file within any folder that you have created within the account. Many options will be available with checkboxes, so you should only select the one you need and eventually enter a URL - if you are using the file to forward a domain or to set custom made error pages for any of your Internet sites. As our cloud platform supports a variety of PHP versions, you'll also be able to set any of these versions for any of your Internet sites regardless if it's different from the version set for your website hosting account as a whole.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server
packages offer an .htaccess generator tool, which is easy enough to be used by people with no previous experience. You will be able to access it through your Hepsia CP and use an intuitive interface to enable any option you'd like. After you select the folder in which our system will create the .htaccess file, you simply need to check the boxes next to the options that you would like to enable, then save the changes and you will be ready. The one thing you shall have to type manually shall be a URL - if you want to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you want to use custom error pages. Our platform shall also enable you to set the PHP version which a website will use by adding an .htaccess file within its root folder, even when your account in general uses a different version.