An .htaccess file is a text file that incorporates directives that tell a web server how to behave in particular occasions. It should be put in the folder where these directives should be performed. A lot of script-driven applications employ this kind of a file to work properly - WordPress and Joomla, in particular. You can use such a file with customized content as well and do a lot of things - block an IP address, an entire network or specific Internet sites from accessing your site, set custom made error pages which shall show up rather than server-generated ones if a visitor encounters some error on the site, direct a domain or a subdomain to a different 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 Web Hosting
We have an easy-to-use .htaccess generator tool which will allow you to set up and use such files without trouble even if you don't have previous experience and you do not know the syntax of the respective directives for this type of a file. The tool is part of the Hepsia Control Panel, offered with our shared web hosting and any option in it could be allowed by choosing acheckbox and eventually by typing a username or a URL, based on what exactly you intend to do with the .htaccess file. You may also decide where the file should be created, so you will not need to do anything manually after or before that. With an .htaccess file, you'll be able to choose the PHP version that'll be enabled for a specific domain, regardless if it isn't the same version as the one for the entire account.