With an .htaccess file, you'll define how the web server that manages the requests to your Internet sites should act a number of cases. This is a text file with directives that are performed when somebody tries to open your site and what happens next depends on the content of the file. As an example, you may block a particular IP address from opening your website, which means that the server will decline your visitor’s request, or you can redirect your domain to some other URL, so the server may redirect the visitor to the new web address. Also you can use customized error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many popular script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to function properly.
.htaccess Generator in Shared Website Hosting
If you acquire any of our shared website hosting packages, you can take advantage of our user-friendly .htaccess generator tool, that's part of the Hepsia Control Panel. You'll not need to know what syntax the many directives in this kind of a file should have, as our tool is very simple to use and you will only need to check boxes or type URLs, so you can easily use an .htaccess file even when you have never had a website hosting account before. Our .htaccess generator offers 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, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You'll even be able to set a different PHP version for each one of your websites.
.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 without previous experience. You shall be able to access it using your Hepsia CP and take advantage of an easy-to-use interface to activate any option you want. Once you pick the folder in which our system will set up 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 only 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 another address or if you want to use custom made error pages. Our platform will also permit you to set the PHP version that a website will use by placing an .htaccess file in its root folder, regardless if your account in general uses a different version.