.htaccess is a small text file which is placed either directly in a domain folder or inside a subfolder to guide the web server how it must handle requests when an Internet site or a folder that is part of it is accessed. Numerous famous scripts including Joomla and WordPress use an .htaccess file. If you get a lot of fake traffic to your website, for instance, you may block the access of specific IP addresses and third-party Internet sites, or you may request the visitor to type in a username and a password in order to see the content. You could also set up URL forwarding or use custom error pages for your Internet site, prevent other sites from linking to your content directly and from using your account’s traffic quota, and so on. An .htaccess file will give you far more control over your websites and the way they operate.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server solutions feature an .htaccess generator tool, that is simple enough to be used by people with zero previous experience. You shall be able to access it via your Hepsia Control Panel and take advantage of a user-friendly interface to enable any option you need. After you choose the folder in which our system will set up the .htaccess file, you simply need to check the boxes beside the options that you would like to activate, then save the changes and you will be ready. The only thing you'll have to input manually will be a URL - if you want to use the .htaccess file to redirect 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 that a site will use by putting an .htaccess file within its root folder, regardless if your account in general uses a different version.