With an .htaccess file, you can determine how the server that handles the requests to your websites must act in different situations. This is a text file with directives that are executed when someone tries to open your Internet site and what happens next is determined by the content of the file. For instance, you can block a particular IP address from opening the site, therefore the server will decline the visitor’s request, or you can redirect your domain to an alternative URL, so the server will direct the visitor to the new web address. You may also use personalized error pages or secure any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven applications, such as WordPress, Drupal and Joomla, use an .htaccess file to operate properly.

.htaccess Generator in Shared Hosting

If you get any of our shared hosting packages, you can benefit from our user-friendly .htaccess generator tool, that's part of the Hepsia Control Panel. You won't need to know what syntax the many directives in this sort of a file must have, since our tool is a breeze to use and you will only have to check boxes or type in URLs, so you can easily use an .htaccess file even when you have never had a hosting account before. Our .htaccess generator provides a number of options - you may block IP addresses, set the first page that loads when someone opens your website, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You will even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server plans include an .htaccess generator tool, that is simple enough to be used by individuals without previous experience. You'll be able to access it using your Hepsia CP and use a user-friendly interface to enable any option you want. When you choose the folder in which our system will set up the .htaccess file, you just need to check the boxes beside the options that you'd like to enable, then save the changes and you shall be all set. The one thing you'll have to input manually will be a URL - if you want to use the .htaccess file to forward one of your domains/subdomains to a different address or if you would like to use personalized error pages. Our platform will also allow you to set the PHP version that a site will use by adding an .htaccess file within its root folder, regardless if your account as a whole uses a different version.