With an .htaccess file, you can define how the web server which addresses the requests to your Internet sites must act a number of occasions. This is a text file with directives that are carried out when an individual tries to open your Internet site and what happens next will depend on the content of the file. For example, you can block a particular IP address from opening the site, so the server will decline your visitor’s request, or you can redirect your domain name to some other URL, so the server will direct the visitor to the new web address. You may also use customized error pages or shield any part of your site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, such as Joomla, Drupal and WordPress, use an .htaccess file to function correctly.

.htaccess Generator in Website Hosting

If you want to use any of the functionalities an .htaccess file offers, but you've never dealt with such matters before, you need to use the .htaccess generator tool provided with all our website hosting plans. The tool is part of our in-house built Hepsia Control Panel and it will provide you with an uncomplicated and intuitive means to create an .htaccess file inside any folder which you have created within the account. A large number of options shall be available with checkboxes, so you should only pick the one which you need and eventually type in a URL - if you are using the file to redirect a domain or to set customized error pages for each of your Internet sites. Considering that our cloud platform supports many different PHP versions, you'll be able to set any of these versions for any of your sites even when it is different from the version set for your web hosting account as a whole.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server plans come with an .htaccess generator tool, that's simple enough to be used by people with zero previous experience. You will be able to access it using your Hepsia Control Panel and benefit from a user-friendly interface to enable any option you would like. Once you pick the folder in which our system will set up the .htaccess file, you only need to check the boxes next to the options you want to enable, then save the changes and you will be set. The only thing you will have to input manually shall be a URL - if you would like to use the .htaccess file to forward one of your domains/subdomains to another address or if you prefer to use personalized error pages. Our platform will also enable you to set the PHP version which a website will use by placing an .htaccess file within its root folder, regardless if your account in general uses a different version.