With an .htaccess file, you will define how the server which deals with the requests to your websites should act a number of cases. This is a text file with directives that are executed when somebody tries to open your website and what happens next depends on the content of the file. For example, you may block a certain IP address from opening the Internet site, so the server will decline the visitor’s request, or you can redirect your domain name to some other URL, so the server may direct the visitor to the new web address. You could also use custom error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven applications, such as WordPress, Drupal and Joomla, use an .htaccess file to work correctly.

.htaccess Generator in Cloud Hosting

We have an intuitive .htaccess generator tool which will allow you to create and use this type of files without difficulties even if you do not have previous experience and you do not know the syntax of the specific directives for this kind of a file. The tool is part of the Hepsia CP, offered with our cloud hosting plans and any option within it can be allowed by selecting acheckbox and eventually by inputting a username or a URL, in accordance with what exactly you intend to do with the .htaccess file. You can also choose where the file should be created, so you will not need to do anything manually before or after that. Using an .htaccess file, you shall also be able to pick the PHP version that will be active for a given domain, even if it's not the same version as the one for the whole account.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans include an .htaccess generator tool, that's simple enough to be used by people without previous experience. You'll be able to access it using your Hepsia Control Panel and benefit from a user-friendly interface to activate any option you'd like. As soon as you pick the folder where our system will set up the .htaccess file, you just have to check the boxes beside the options that you'd like to enable, then save the changes and you shall be ready. The only thing you shall have to type in manually shall be a URL - if you want to use the .htaccess file to redirect one of your domains/subdomains to another address or if you want to use custom error pages. Our platform shall also enable you to set the PHP version that a site will use by placing an .htaccess file within its root folder, regardless if your account in general uses a different version.