With an .htaccess file, you'll define how the web server which handles the requests to your Internet sites should act a number of occasions. This is a text file with directives that are carried out when an individual tries to open your Internet site and what happens next will depend on the content of the file. As an example, you could block a certain IP address from opening your website, therefore the server will decline your visitor’s request, or you can redirect your domain to some other URL, so the server may direct the visitor to the new web address. You could also use customized error pages or protect any part of your website with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, including Joomla, WordPress and Drupal, use an .htaccess file to operate correctly.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server packages feature an .htaccess generator tool, that is easy enough to be used by people without previous experience. You shall be able to access it via your Hepsia CP and take advantage of a user-friendly interface to activate any option you need. As soon as you choose the folder where 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 shall be good to go. The only thing you'll have to input manually will be a URL - if you want to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you want to use custom 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 as a whole uses a different version.