With an .htaccess file, you will determine how the web server which deals with the requests to your Internet sites should act in a variety of scenarios. 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. As an illustration, you can block a certain IP address from accessing the website, so 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 personalized error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, including WordPress, Drupal and Joomla, use an .htaccess file to work efficiently.
.htaccess Generator in Cloud Web Hosting
When you obtain any of our cloud web hosting solutions, you can take advantage of our easy-to-use .htaccess generator tool, which is part of the Hepsia Control Panel. You'll not need to know what syntax the various directives in such a file must have, since our tool is super easy to use and you'll only have to check boxes or enter URLs, so you can certainly use an .htaccess file even when you have never had a website hosting account before. Our .htaccess generator offers a wide range of options - you could block IP addresses, set the first page that loads when someone opens your website, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You will even be able to set a different PHP version for each of your Internet sites.
.htaccess Generator in Semi-dedicated Servers
All our Linux semi-dedicated servers come with the advanced, albeit easy-to-use Hepsia CP, which features our .htaccess generator tool. It will permit you to create a system file inside any folder that you choose with just a few mouse clicks. Even if you are not tech-savvy, you'll be able to benefit from all the features which an .htaccess file offers since our tool is quite intuitive to use. There is also a list of all the options that you can enable and there shall be a checkbox next to each of them. Just pick the options which you want to activate and eventually type in a URL - if you're using the .htaccess file to redirect one URL to another or to set custom made error pages. You'll not have to type in any code at any time. If needed, you can use an .htaccess file to use different versions of PHP for your Internet sites, because many versions are available simultaneously on our web hosting platform.