With an .htaccess file, you can determine how the web server that deals with the requests to your Internet sites must act a number of scenarios. This is a text file with directives that are carried out when someone tries to open your Internet site and what happens next depends on the content of the file. For example, you could block a particular IP address from accessing the site, which means that the server will decline the visitor’s request, or you can forward your domain to some other URL, so the server may direct the visitor to the new web address. You could also use tailor-made error pages or secure any part of your site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven applications, including Drupal, Joomla and WordPress, use an .htaccess file to work correctly.

.htaccess Generator in Hosting

When you get any of our hosting plans, you can benefit from our easy-to-use .htaccess generator tool, which is part of the Hepsia Control Panel. You will not need to know what syntax the various directives in such a file need to have, because our tool is very easy to use and you'll only have to check boxes or input URLs, so you can use an .htaccess file even in case you have never had a web hosting account before. Our .htaccess generator offers a substantial amount of options - you can block IP addresses, set the first page that loads when a person opens your site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You'll even be able to set a different PHP version for each one of your sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server solutions feature an .htaccess generator tool, that is easy enough to be used by people with zero previous experience. You will be able to access it via your Hepsia Control Panel and employ a user-friendly interface to enable any option you want. After you choose the folder where our system will set up the .htaccess file, you simply need to check the boxes next to the options which you want to activate, then save the changes and you'll be all set. The one thing you shall have to enter manually shall be a URL - if you want to use the .htaccess file to forward one of your domains/subdomains to another address or if you want to use custom made error pages. Our platform shall also allow you to set the PHP version which an Internet site will use by adding an .htaccess file in its root folder, even when your account in general uses a different version.