An .htaccess file is a text file which includes directives which tell a web server how to act in particular situations. It should be placed in the folder where these directives should be carried out. A lot of script-driven applications use this type of a file to perform efficiently - WordPress and Joomla, in particular. You can use this type of a file with customized content as well and do a lot of things - block an IP address, a whole network or particular sites from accessing your site, set custom made error pages which will show up rather than server-generated ones in case a visitor encounters some error on the site, forward a domain or a subdomain to another web address, set up a password-protected area plus more. With an .htaccess file, you shall have significantly better control over your online presence.

.htaccess Generator in Shared Website Hosting

If you get any of our shared website hosting solutions, you can take advantage of our user-friendly .htaccess generator tool, that's part of the Hepsia CP. You will not need to know what syntax the many directives in this type of a file must have, since our tool is very easy to use and you will only have to check boxes or input URLs, so you can use an .htaccess file even in case you have never had a hosting account before. Our .htaccess generator offers a substantial amount of options - you are able to block IP addresses, set the first page that loads when someone opens your Internet site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You'll even be able to set a different PHP version for each of your Internet sites.