With an .htaccess file, you can define how the server that deals with the requests to your websites have to act in a variety of cases. This is a text file with directives that are executed when someone tries to open your site and what happens next will depend on the content of the file. As an illustration, you can block a certain IP address from accessing your website, which means that the server will decline the visitor’s request, or you can forward your domain name to another URL, so the server will direct the visitor to the new web address. You may also use custom error pages or secure any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to function efficiently.

.htaccess Generator in Shared Hosting

If you wish to use any of the functionalities that an .htaccess file provides, but you've never dealt with such matters before, you can use the .htaccess generator tool that comes with our shared hosting solutions. The tool is part of our in-house built Hepsia CP and it'll give you an uncomplicated and intuitive means to set up an .htaccess file within any folder you have created in the account. A lot of options shall be available with checkboxes, so you should only select 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 any of your websites. Because our cloud platform supports many different PHP versions, you'll also be able to set any of these versions for each of your Internet sites even if it is different from the version set for your website hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server packages provide an .htaccess generator tool, which is easy enough to be used by individuals with zero previous experience. You will be able to access it through your Hepsia Control Panel and take advantage of a user-friendly interface to activate any option you need. After you pick the folder in which our system will create the .htaccess file, you just have to check the boxes beside the options you want to activate, then save the changes and you will be ready. The only thing you will have to type manually shall be a URL - if you need to use the .htaccess file to forward one of your domains/subdomains to another address or if you would like to use custom made error pages. Our platform shall also permit you to set the PHP version that a website will use by placing an .htaccess file within its root folder, even when your account in its entirety uses a different version.