With an .htaccess file, you can determine how the web server which deals with the requests to your web sites must act in different scenarios. This is a text file with directives that are executed when someone tries to open your website 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, and the server will decline the visitor’s request, or you can forward your domain to a different URL, so the server may direct the visitor to the new web address. You could also use personalized error pages or preserve any part of your website with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven applications, like Joomla, Drupal and WordPress, use an .htaccess file to function properly.

.htaccess Generator in Shared Hosting

If you purchase any of our shared hosting solutions, you can reap the benefits of our intuitive .htaccess generator tool, which is part of the Hepsia CP. You won't need to know what syntax the different directives in this kind of a file should have, since our tool is easy to use and you'll only need to check boxes or type URLs, so you can easily use an .htaccess file even when you have never had an Internet hosting account before. Our .htaccess generator offers a large amount of options - you can block IP addresses, set the first page that loads when a person opens your Internet site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You shall even be able to set a different PHP version for each one of your Internet sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server packages come with an .htaccess generator tool, which is easy enough to be used by people with zero previous experience. You shall be able to access it using your Hepsia Control Panel and benefit from an intuitive interface to activate any option you want. When you select the folder in which our system will create the .htaccess file, you simply need to check the boxes next to the options that you would like to enable, then save the changes and you'll be set. The one thing you shall have to enter by hand will be a URL - if you wish to use the .htaccess file to redirect one of your domains/subdomains to another address or if you prefer to use custom error pages. Our platform will also enable you to set the PHP version that a site will use by adding an .htaccess file inside its root folder, even when your account as a whole uses a different version.