With an .htaccess file, you will determine how the server which deals with the requests to your Internet sites must act a number of situations. This is a text file with directives that are performed when someone tries to open your website and what happens next is determined by the content of the file. As an illustration, you can block a specific IP address from accessing the website, which means that the server will decline the visitor’s request, or you can redirect your domain name to some other URL, so the server will direct the visitor to the new web address. Also you can use custom-made error pages or protect any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, including Drupal, Joomla and WordPress, use an .htaccess file to function efficiently.
.htaccess Generator in Shared Web Hosting
We have an easy-to-use .htaccess generator tool that will enable you to set up and use such files with no difficulties even if you don't have any previous experience and you don't know the syntax of the specific directives for this type of a file. The tool is part of the Hepsia CP, offered with our shared web hosting plans and any option within it could be allowed by choosing acheckbox and eventually by typing a username or a URL, based on what exactly you need to do with the .htaccess file. You can also select where the file should be created, so you will not have to do anything by hand before or after that. Through an .htaccess file, you shall also be able to choose the PHP version that'll be enabled for a particular domain, even if it's not the same version as the one for the whole account.