.htaccess is a small text file that is placed either directly in a domain folder or inside a subfolder to tell the web server how it must manage requests when a website or a folder which is part of it is accessed. Numerous widespread scripts such as Joomla and WordPress use an .htaccess file. If you get a lot of fake traffic to your site, for instance, you may block the access of particular IP addresses and third-party sites, or you may request the visitor to type in a username and a password to view the content. You can also set up URL redirecting or use custom error pages for your Internet site, prevent other Internet sites from linking to your content directly and from using your account’s traffic quota, etcetera. An .htaccess file offers you far more control over your sites and the way they perform.

.htaccess Generator in Shared Web Hosting

When you get any of our shared web hosting solutions, you can take full advantage of our easy-to-use .htaccess generator tool, that is part of the Hepsia CP. You will not need to know what syntax the different directives in such a file need to have, since our tool is very easy to use and you will only need to check boxes or type URLs, so you can certainly use an .htaccess file even if you have never had a website hosting account before. Our .htaccess generator gives a large amount of options - you are able to block IP addresses, set the first page that loads when an individual 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 of your sites.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server packages include an .htaccess generator tool, that is easy enough to be used by people without previous experience. You will be able to access it via your Hepsia Control Panel and benefit from an easy-to-use interface to activate any option you would like. As soon as you pick the folder in which our system will create the .htaccess file, you simply need to check the boxes next to the options which you want to enable, then save the changes and you'll be ready. The one thing you'll have to enter by hand will be a URL - if you would like to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you want to use personalized error pages. Our platform will also permit you to set the PHP version that an Internet site will use by putting an .htaccess file inside its root folder, no matter if your account in general uses a different version.