An .htaccess file is a text file which incorporates directives which tell a server how to behave in particular situations. It must be put in the folder where these directives should be performed. Numerous script-driven apps use such a file to function correctly - WordPress and Joomla, for instance. You can use such a file with personalized content too and do lots of things - block an IP address, an entire network or certain sites from accessing your site, set personalized error pages which will be displayed rather than the server-generated ones if a visitor encounters some error on the site, direct a domain or a subdomain to a new web address, create a password-protected area and much more. With an .htaccess file, you'll have significantly better control over your world-wide web presence.

.htaccess Generator in Hosting

When you get any of our hosting packages, you can take advantage of our intuitive .htaccess generator tool, that's part of the Hepsia Control Panel. You shall not need to know what syntax the various directives in such a file need to have, as our tool is very simple to use and you'll only need to check boxes or enter URLs, so you can certainly use an .htaccess file even in case you have never had a website hosting account before. Our .htaccess generator offers a substantial amount of options - you may block IP addresses, set the first page that loads when somebody opens your Internet 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 one of your sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans include an .htaccess generator tool, that is easy enough to be used by individuals without previous experience. You will be able to access it using your Hepsia CP and take advantage of an easy-to-use interface to activate any option you need. After you pick the folder in which our system will create the .htaccess file, you just need to check the boxes beside the options which you want to activate, then save the changes and you'll be set. The one thing you shall have to type in manually shall be a URL - if you'd like to use the .htaccess file to redirect one of your domains/subdomains to another address or if you want to use personalized error pages. Our platform will also permit you to set the PHP version that a website will use by putting an .htaccess file in its root folder, even when your account in general uses a different version.