With an .htaccess file, you shall specify how the server which addresses the requests to your websites have to act a number of occasions. This is a text file with directives that are carried out when somebody tries to open your website and what happens next will depend on the content of the file. As an illustration, you could block a specific IP address from opening the website, therefore the server will decline your visitor’s request, or you can forward your domain to another URL, so the server may redirect the visitor to the new web address. Also you can use personalized error pages or shield any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, like Drupal, Joomla and WordPress, use an .htaccess file to work properly.
.htaccess Generator in Shared Hosting
We have an intuitive .htaccess generator tool that will enable you to create and use this type of files with no issues even if you don't have any previous experience and you don't know the syntax of the specific directives for such a file. The tool is part of the Hepsia Control Panel, offered with our Linux shared hosting and any option within it can be activated by choosing acheckbox and eventually by typing a username or a URL, depending on what exactly you would like to do with the .htaccess file. You may also select where the file should be created, so you shall 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 which will be active for a particular domain, even if it isn't the same version as the one for the whole account.