With an .htaccess file, you shall define how the server that manages the requests to your websites should act in a variety of occasions. This is a text file with directives that are executed when an individual tries to open your website and what happens next will depend on the content of the file. As an example, you may block a particular IP address from accessing the Internet site, and the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server will redirect the visitor to the new web address. You may also use tailor-made error pages or secure any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, including WordPress, Drupal and Joomla, use an .htaccess file to work correctly.

.htaccess Generator in Hosting

If you want to use any of the functions that an .htaccess file provides, but you haven't dealt with this type of matters before, you need to use the .htaccess generator tool offered with our hosting plans. The tool is part of our in-house built Hepsia Control Panel and it will offer you an uncomplicated and user-friendly means to create an .htaccess file in any folder that you've created within the account. Many options shall be available with checkboxes, so you should only pick the one which you need and eventually input a URL - if you are using the file to forward a domain or to set custom made error pages for each of your websites. Because our cloud platform supports a number of different PHP versions, you'll also be able to set any of these versions for any of your Internet sites even when it is different from the version set for your web hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server solutions offer an .htaccess generator tool, that's simple enough to be used by individuals with no previous experience. You'll be able to access it through your Hepsia CP and take advantage of a user-friendly interface to enable any option you would like. As soon as you choose the folder where our system will set up the .htaccess file, you just need to check the boxes beside the options that you would like to activate, then save the changes and you shall be good to go. The one thing you'll have to type manually shall be a URL - if you wish to use the .htaccess file to forward one of your domains/subdomains to a different address or if you want to use custom made error pages. Our platform will also enable you to set the PHP version which an Internet site will use by putting an .htaccess file within its root folder, even when your account in its entirety uses a different version.