An .htaccess file is a text file that features directives which tell a web server how to behave in particular cases. It should be placed in the folder where these directives should be performed. Numerous script-driven apps employ this kind of a file to perform properly - WordPress and Joomla, for example. You can use this kind of a file with customized content too and do lots of things - block an IP address, a whole network or specific Internet sites from accessing your site, set custom error pages which shall show up rather than the server-generated ones if a visitor encounters some error on the site, redirect a domain or a subdomain to a new web address, set up a password-protected area and much more. With an .htaccess file, you'll have much better control over your online presence.
.htaccess Generator in Hosting
If you purchase any of our hosting packages, you can take advantage of our intuitive .htaccess generator tool, which is part of the Hepsia CP. You shall not need to know what syntax the different directives in such a file need to have, because our tool is very simple to use and you'll only need to check boxes or input URLs, so you can certainly use an .htaccess file even in case you have never had a website hosting account before. Our .htaccess generator offers a substantial amount of options - you could block IP addresses, set the first page that loads when somebody 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'll even be able to set a different PHP version for each of your websites.