With an .htaccess file, you will determine how the web server which deals with the requests to your websites should act in various occasions. This is a text file with directives that are executed when someone tries to open your site and what happens next will depend on the content of the file. For example, you could block a particular IP address from accessing the site, therefore the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server may direct the visitor to the new web address. Also you can use tailor-made error pages or secure any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, including Joomla, WordPress and Drupal, use an .htaccess file to work properly.
.htaccess Generator in Shared Hosting
When you get any of our shared hosting plans, you can take advantage of our intuitive .htaccess generator tool, that is part of the Hepsia CP. You will not need to know what syntax the various directives in such a file need to have, because our tool is very easy to use and you shall only need to check boxes or input URLs, so you can easily use an .htaccess file even if you have never had a website hosting account before. Our .htaccess generator offers a number of options - you could block IP addresses, set the first page that loads when somebody opens your website, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You shall even be able to set a different PHP version for each one of your websites.
.htaccess Generator in Semi-dedicated Servers
If you open a semi-dedicated server account with our company, you will be able to use our powerful, albeit simple-to-use .htaccess generator tool, which is provided with the Hepsia hosting CP. You could choose the folder in which the file shall be created and after that you will only have to select a checkbox next to every single option that you would like to use - it is as easy as that. If you need to set up URL forwarding or to set customized error pages for any of your websites, you will also have to type a web address, but you won't have to enter any special code at any time, so you can use our tool even if you do not have previous experience. Due to the fact that our sophisticated web hosting platform supports a number of versions of PHP, you will also be able to choose the version which any site shall use, even if it's not identical to the one selected for the account as a whole.