With an .htaccess file, you will define how the web server which addresses the requests to your Internet sites have to act in different scenarios. This is a text file with directives that are performed when somebody tries to open your site and what happens next depends on the content of the file. As an example, you could block a specific IP address from accessing your website, therefore the server will decline your visitor’s request, or you can forward your domain to a different URL, so the server will direct the visitor to the new web address. You may also use tailor-made error pages or secure any part of your site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, including Joomla, WordPress and Drupal, use an .htaccess file to operate properly.
.htaccess Generator in Shared Website Hosting
We have a time and effort saving .htaccess generator tool that will enable you to set up and use such files without difficulty even if you have no previous experience and you do not know the syntax of the particular directives for such a file. The tool is part of the Hepsia Control Panel, supplied with our shared website hosting and any option within it may be activated by selecting acheckbox and eventually by entering a username or a URL, depending on what exactly you want to do with the .htaccess file. You can also decide where the file should be created, so you won't have to do anything by hand after or before that. By using an .htaccess file, you'll also be able to select the PHP version that will be enabled for a particular domain, regardless if it is not the same version as the one for the entire account.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server plans come with an .htaccess generator tool, that is easy enough to be used by people with zero previous experience. You shall be able to access it using your Hepsia CP and use a user-friendly interface to activate any option you would like. After you select the folder in which our system will create the .htaccess file, you only need to check the boxes beside the options that you would like to enable, then save the changes and you will be all set. The only thing you will have to input manually shall be a URL - if you wish to use the .htaccess file to forward one of your domains/subdomains to another address or if you would like to use personalized error pages. Our platform shall also allow you to set the PHP version that a website will use by putting an .htaccess file inside its root folder, even when your account as a whole uses a different version.