With an .htaccess file, you will define how the server which deals with the requests to your websites should act in a variety of occasions. 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 instance, you can block a certain IP address from accessing the website, which means that the server will decline the visitor’s request, or you can forward your domain to some other URL, so the server will redirect the visitor to the new web address. Also you can use custom error pages or secure any part of your website with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, such as WordPress, Drupal and Joomla, use an .htaccess file to function correctly.

.htaccess Generator in Hosting

We have an intuitive .htaccess generator tool that will allow you to create and use this kind of files with no issues even if you do not have previous experience and you do not know the syntax of the particular directives for such a file. The tool is part of the Hepsia CP, which comes with our Linux hosting and any option in it could be activated by picking acheckbox and eventually by inputting a username or a URL, based upon what exactly you want to do with the .htaccess file. You could also select where the file should be created, so you will not need to do anything by hand after or before that. Through an .htaccess file, you shall also be able to select the PHP version which will be enabled for a specific domain, regardless if it is not the same version as the one for the whole account.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server solutions come with an .htaccess generator tool, that is easy enough to be used by individuals with no previous experience. You'll be able to access it using your Hepsia Control Panel and use a user-friendly interface to activate any option you want. When you choose the folder where our system will set up the .htaccess file, you just need to check the boxes next to the options that you'd like to activate, then save the changes and you'll be good to go. The one thing you'll have to enter by hand 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 custom error pages. Our platform shall also permit you to set the PHP version which a site will use by adding an .htaccess file inside its root folder, no matter if your account in general uses a different version.