With an .htaccess file, you can specify how the server which manages the requests to your web sites have to act in various situations. This is a text file with directives that are executed when somebody tries to open your website and what happens next is determined by the content of the file. For instance, you could block a particular IP address from opening the website, which means that the server will decline the visitor’s request, or you can redirect your domain to a different URL, so the server may redirect the visitor to the new web address. Also you can use custom-made error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, such as WordPress, Drupal and Joomla, use an .htaccess file to function correctly.

.htaccess Generator in Shared Website Hosting

When you acquire any of our shared website hosting packages, you can benefit from our user-friendly .htaccess generator tool, that is part of the Hepsia CP. You won't need to know what syntax the various directives in this sort of a file must have, because our tool is very easy to use and you shall only have to check boxes or input URLs, so you can certainly use an .htaccess file even in case you have never had a website hosting account before. Our .htaccess generator offers a number of options - you can block IP addresses, set the first page that loads when an individual opens your website, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You shall even be able to set a different PHP version for each of your Internet sites.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server solutions offer an .htaccess generator tool, which is easy 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 activate any option you would like. After you choose the folder in which our system will set up the .htaccess file, you just have to check the boxes next to the options which you want to enable, then save the changes and you'll be set. The one thing you will have to type in by hand shall be a URL - if you wish to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you prefer to use custom error pages. Our platform will also permit you to set the PHP version that a site will use by placing an .htaccess file in its root folder, regardless if your account as a whole uses a different version.