With an .htaccess file, you will define how the server that deals with the requests to your Internet sites have to act in a variety of situations. This is a text file with directives that are performed when someone tries to open your Internet site and what happens next is determined by the content of the file. For instance, you may block a particular IP address from opening the website, therefore the server will decline your visitor’s request, or you can forward your domain name to some other URL, so the server will direct the visitor to the new web address. You could also use customized error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, such as WordPress, Drupal and Joomla, use an .htaccess file to operate correctly.
.htaccess Generator in Cloud Hosting
If you purchase any of our cloud hosting packages, you can take full advantage of our intuitive .htaccess generator tool, that's part of the Hepsia CP. You'll not need to know what syntax the different directives in such a file must have, because our tool is very easy to use and you shall only need to check boxes or type in URLs, so you can use an .htaccess file even in case you have never had a web hosting account before. Our .htaccess generator provides a lot of options - you could block IP addresses, set the first page that loads when a person opens your website, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You'll even be able to set a different PHP version for each one of your sites.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server plans offer an .htaccess generator tool, that's easy enough to be used by people with no previous experience. You'll be able to access it using your Hepsia CP and employ an easy-to-use interface to enable any option you want. Once you pick the folder where our system will set up the .htaccess file, you just need to check the boxes next to the options which you want to activate, then save the changes and you will be ready. The one thing you shall have to type manually shall be a URL - if you need to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you prefer to use personalized error pages. Our platform will also allow you to set the PHP version that a site will use by putting an .htaccess file inside its root folder, even when your account in general uses a different version.