With an .htaccess file, you'll specify how the server that handles the requests to your websites must act in a variety of scenarios. 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 can block a specific IP address from opening the Internet site, which means that the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server will redirect the visitor to the new web address. Also you can use customized error pages or protect any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, such as WordPress, Drupal and Joomla, use an .htaccess file to operate properly.
.htaccess Generator in Shared Hosting
When you acquire any of our shared hosting packages, you can take advantage of our intuitive .htaccess generator tool, that's part of the Hepsia CP. You won't need to know what syntax the many directives in this type of a file need to have, since our tool is a breeze to use and you shall only have to check boxes or type URLs, so you can easily use an .htaccess file even when you have never had an Internet hosting account before. Our .htaccess generator provides a number of options - you could block IP addresses, set the first page that loads when someone opens your site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You shall even be able to set a different PHP version for each of your websites.
.htaccess Generator in Semi-dedicated Servers
The Linux semi-dedicated servers that we offer you include a powerful, but easy-to-use .htaccess generator tool, that will give you the option to use such a file for any purpose even if you're not very experienced. The tool is integrated into the Hepsia Control Panel and has the same intuitive interface. If you would like to use some of the options which could be enabled via an .htaccess file, you just need to check the box next to it inside the list that you will find when you open the tool. You can also select in which directory of your account the file shall be created and you'll be set. An .htaccess file can also be used to set a PHP version for a particular site which differs from the version which the account itself employs. Should you have any difficulties, we have thorough help articles and instructional videos that shall reveal to you first-hand how to activate any option available within the tool.