With an .htaccess file, you shall determine how the server that addresses the requests to your Internet sites have to act a number of occasions. This is a text file with directives that are performed when an individual 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 accessing the website, which means that the server will decline your visitor’s request, or you can redirect your domain name to some other URL, so the server will direct the visitor to the new web address. Also you can use custom-made error pages or protect any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, such as Joomla, Drupal and WordPress, use an .htaccess file to operate correctly.
.htaccess Generator in Shared Hosting
If you want to use any of the functions that an .htaccess file provides, but you haven't dealt with this sort of matters before, you should use the .htaccess generator tool offered with all our shared hosting solutions. The tool is part of our in-house built Hepsia CP and it'll offer you an easy and intuitive means to create an .htaccess file inside any folder which you have created inside the account. Quite a few options shall be available with checkboxes, so you should only choose the one which you need and eventually type a URL - if you are using the file to forward a domain or to set customized error pages for any of your Internet sites. Because our cloud platform supports many different PHP versions, you'll also be able to set any of these versions for any of your websites even if it is different from the version set for your hosting account as a whole.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server packages come with an .htaccess generator tool, which is simple enough to be used by people with zero previous experience. You shall be able to access it via your Hepsia Control Panel and benefit from an intuitive interface to enable any option you would like. As soon as you pick the folder where our system will set up the .htaccess file, you only 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 only thing you shall have to input manually will be a URL - if you want to use the .htaccess file to redirect one of your domains/subdomains to another address or if you prefer to use custom made error pages. Our platform will also allow you to set the PHP version that a site will use by adding an .htaccess file within its root folder, even if your account as a whole uses a different version.