With an .htaccess file, you will determine how the web server that deals with the requests to your web sites should act a number of situations. This is a text file with directives that are executed when somebody tries to open your site and what happens next will depend on the content of the file. As an illustration, you may block a specific IP address from opening the website, so the server will decline your visitor’s request, or you can redirect your domain name to an alternative URL, so the server may direct the visitor to the new web address. You may also use customized 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 applications, including Drupal, Joomla and WordPress, use an .htaccess file to operate correctly.
.htaccess Generator in Cloud Hosting
When you acquire any of our cloud hosting plans, you can take advantage of our user-friendly .htaccess generator tool, that's part of the Hepsia Control Panel. You shall not need to know what syntax the different directives in this kind of a file must have, as our tool is easy to use and you shall only have to check boxes or type in URLs, so you can use an .htaccess file even when you have never had an Internet hosting account before. Our .htaccess generator provides a number of options - you can block IP addresses, set the first page that loads when someone opens your site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You shall even be able to set a different PHP version for each one of your Internet sites.
.htaccess Generator in Semi-dedicated Servers
The Linux semi-dedicated servers which we provide include an efficient, but easy-to-use .htaccess generator tool, that will give you the chance to use this kind of a file for any purpose even if you are not experienced. The tool is incorporated into the Hepsia Control Panel and has the same intuitive interface. If you'd like to use any of the options that may be activated using an .htaccess file, you just have to check the box next to it within the list which you'll find when you open the tool. You may also decide in which directory of your account the file shall be created and you'll be ready. An .htaccess file could also be used to set a PHP version for a particular Internet site that differs from the version which the account itself employs. Should you have any difficulties, we have comprehensive help articles and educational videos that shall reveal to you first-hand how to enable any option that is available in the tool.