.htaccess is a small text file that's placed either directly inside a domain folder or inside a subfolder to guide the web server how it has to handle requests when a website or a folder that's part of it is accessed. Many commonly used scripts including WordPress and Joomla use an .htaccess file. If you get loads of fake traffic to your website, for instance, you may block the access of specific IP addresses and third-party websites, or you may request the visitor to input a username and a password to see the content. You could also set up URL forwarding or use customized error pages for your Internet site, prevent other sites from linking to your content directly and from using your account’s traffic quota, etc. An .htaccess file gives you far more control over your Internet sites and the way they perform.

.htaccess Generator in Shared Hosting

If you acquire any of our shared hosting solutions, you can take advantage of our user-friendly .htaccess generator tool, that is part of the Hepsia Control Panel. You shall not need to know what syntax the many directives in this kind of a file must have, as our tool is a breeze to use and you'll only need to check boxes or type in URLs, so you can certainly use an .htaccess file even when you have never had an Internet hosting account before. Our .htaccess generator gives a substantial amount of options - you'll be able to block IP addresses, set the first page that loads when someone opens your Internet site, create password protection, redirect 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 of your Internet sites.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server packages come with an .htaccess generator tool, which is simple enough to be used by people with zero previous experience. You shall be able to access it using your Hepsia Control Panel and use a user-friendly interface to activate any option you'd like. When you select the folder where our system will create the .htaccess file, you just have to check the boxes next to the options that you'd like to enable, then save the changes and you shall be ready. The one thing you will have to type manually shall be a URL - if you would like to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you want to use personalized error pages. Our platform shall also allow you to set the PHP version that a website will use by placing an .htaccess file in its root folder, even when your account in general uses a different version.