An .htaccess file is a text file which contains directives which tell a server how to behave in particular situations. It needs to be placed in the folder where these directives should be executed. Loads of script-driven applications employ this kind of a file to perform efficiently - WordPress and Joomla, in particular. You can use such a file with custom made content as well and do quite a lot of things - block an IP address, an entire network or certain sites from accessing your site, set customized error pages that will appear rather than server-generated ones in case a visitor encounters some error on the website, redirect a domain or a subdomain to another web address, set up a password-protected area and more. With an .htaccess file, you'll have more effective control over your web presence.

.htaccess Generator in Hosting

If you get any of our hosting plans, you can take advantage of our user-friendly .htaccess generator tool, that's part of the Hepsia CP. You won't need to know what syntax the different directives in this type of a file should have, since our tool is easy to use and you shall only need to check boxes or type in URLs, so you can use an .htaccess file even when you have never had a website hosting account before. Our .htaccess generator gives a wide range of options - you may block IP addresses, set the first page that loads when somebody opens your website, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You shall even be able to set a different PHP version for each of your sites.

.htaccess Generator in Semi-dedicated Servers

The semi-dedicated servers that we provide come with a powerful, but time and effort saving .htaccess generator tool, which will provide you with the opportunity to use this kind of a file for any purpose even if you are not experienced. The tool is built into the Hepsia Control Panel and has the same intuitive interface. If you'd like to use some of the options that could be activated using an .htaccess file, you just need to check the box next to it inside the list which you will find when you open the tool. You may also choose in which directory of your account the file will be created and you will be good to go. An .htaccess file can be used to set a PHP version for a specific site which is different from the version that the account itself employs. If you have any problems, we have thorough help articles and video lessons that will reveal to you first-hand how to enable any option available within the tool.