With an .htaccess file, you can determine how the web server which handles the requests to your Internet sites must act a number of scenarios. This is a text file with directives that are performed when somebody tries to open your website and what happens next depends on the content of the file. As an illustration, you may block a specific IP address from opening the site, which means that the server will decline the visitor’s request, or you can redirect your domain name to a different URL, so the server will redirect the visitor to the new web address. Also you can use personalized error pages or protect any part of your site with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, such as Drupal, Joomla and WordPress, use an .htaccess file to work correctly.

.htaccess Generator in Cloud Web Hosting

If you acquire any of our cloud web hosting packages, you can benefit from our intuitive .htaccess generator tool, that's part of the Hepsia CP. You won't need to know what syntax the various directives in this kind of a file need to have, as our tool is very easy to use and you shall only need to check boxes or type URLs, so you can easily use an .htaccess file even when you have never had a hosting account before. Our .htaccess generator gives a lot of options - you could block IP addresses, set the first page that loads when an individual opens your Internet site, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You shall 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 solutions provide an .htaccess generator tool, that's easy enough to be used by people with zero previous experience. You will be able to access it via your Hepsia Control Panel and use a user-friendly interface to enable any option you want. When you select the folder in which our system will set up the .htaccess file, you simply need to check the boxes next to the options you want to activate, then save the changes and you shall be ready. The one thing you shall have to enter manually shall be a URL - if you would like to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you want to use customized error pages. Our platform shall also allow you to set the PHP version that a site will use by placing an .htaccess file within its root folder, regardless if your account in general uses a different version.