With an .htaccess file, you will define how the server that handles the requests to your websites must act in different situations. This is a text file with directives that are performed when someone tries to open your website and what happens next depends on the content of the file. For example, you may block a specific IP address from opening the website, therefore the server will decline your visitor’s request, or you can redirect your domain to a different URL, so the server will redirect the visitor to the new web address. You can also use tailor-made error pages or secure any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven applications, including Joomla, Drupal and WordPress, use an .htaccess file to function efficiently.
.htaccess Generator in Shared Hosting
If you would like to use any of the functionalities which an .htaccess file offers, but you have never dealt with this type of matters before, you can use the .htaccess generator tool offered with our shared hosting packages. The tool is part of our in-house built Hepsia Control Panel and it will provide you with an uncomplicated and intuitive means to set up an .htaccess file within any folder you have created in the account. A huge number of options shall 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 redirect a domain or to set custom made error pages for any of your Internet sites. Considering that our cloud platform supports a variety of PHP versions, you will also be able to set any of these versions for each of your 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 individuals without previous experience. You shall be able to access it through your Hepsia Control Panel and use a user-friendly interface to activate any option you would like. Once you choose the folder where our system will set up the .htaccess file, you just have to check the boxes beside the options you want to activate, then save the changes and you shall be ready. The one thing you shall have to input manually shall be a URL - if you need to use the .htaccess file to redirect one of your domains/subdomains to another address or if you want to use customized error pages. Our platform will also enable you to set the PHP version which a website will use by putting an .htaccess file in its root folder, regardless if your account in general uses a different version.