With an .htaccess file, you'll specify how the web server that handles the requests to your Internet sites have to act in a variety of situations. This is a text file with directives that are carried out when someone tries to open your Internet site and what happens next is determined by the content of the file. As an illustration, you can block a particular IP address from opening your website, therefore the server will decline the visitor’s request, or you can redirect your domain to another URL, so the server may redirect the visitor to the new web address. Also you can use tailor-made error pages or shield any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, such as Drupal, Joomla and WordPress, use an .htaccess file to work correctly.

.htaccess Generator in Web Hosting

When you obtain any of our web hosting plans, you can reap the benefits of our intuitive .htaccess generator tool, that is part of the Hepsia CP. You'll not need to know what syntax the various directives in such a file need to have, since our tool is a breeze to use and you'll only need to check boxes or enter URLs, so you can easily use an .htaccess file even if you have never had a web hosting account before. Our .htaccess generator provides a large amount of options - you may block IP addresses, set the first page that loads when a person opens your site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You shall even be able to set a different PHP version for each of your websites.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server packages include an .htaccess generator tool, that's easy enough to be used by people without previous experience. You will be able to access it through your Hepsia Control Panel and take advantage of an easy-to-use interface to activate any option you would like. Once you pick the folder in which our system will set up the .htaccess file, you just have to check the boxes beside the options that you want to enable, then save the changes and you'll be ready. The one thing you shall have to type in manually shall be a URL - if you want to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you want to use custom error pages. Our platform will also enable you to set the PHP version that a website will use by placing an .htaccess file within its root folder, even if your account in its entirety uses a different version.