With an .htaccess file, you will define how the server which manages the requests to your Internet sites should act in various situations. This is a text file with directives that are executed when someone tries to open your site and what happens next is determined by the content of the file. For instance, you can block a certain IP address from opening the website, so the server will decline your visitor’s request, or you can redirect your domain to some other URL, so the server may redirect the visitor to the new web address. You could 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 popular script-driven apps, including Joomla, Drupal and WordPress, use an .htaccess file to work properly.

.htaccess Generator in Shared Hosting

If you want to use any of the features an .htaccess file provides, but you have not dealt with such matters before, you need to use the .htaccess generator tool that comes with all our shared hosting solutions. The tool is part of our in-house built Hepsia Control Panel and it shall provide you with a simple and intuitive means to create an .htaccess file in any folder that you have created within the account. A large number of options will be available with checkboxes, so you should only select the one which you need and eventually enter a URL - if you are using the file to redirect a domain or to set custom made error pages for any of your Internet sites. Since our cloud platform supports a number of PHP versions, you'll also be able to set any of these versions for each of your sites even when it is different from the version set for your website hosting account as a whole.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server solutions provide an .htaccess generator tool, that is easy enough to be used by individuals with no previous experience. You'll be able to access it via your Hepsia CP and benefit from a user-friendly interface to activate any option you want. When you select the folder where our system will set up the .htaccess file, you simply need to check the boxes beside the options that you want to activate, then save the changes and you will be good to go. The only thing you will have to enter by hand will be a URL - if you need to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you would like to use personalized error pages. Our platform shall also allow you to set the PHP version which a website will use by adding an .htaccess file within its root folder, even when your account in its entirety uses a different version.