With an .htaccess file, you shall define how the server that handles the requests to your Internet sites have to act in a variety of occasions. This is a text file with directives that are performed when somebody tries to open your website and what happens next will depend on the content of the file. As an example, you can block a specific IP address from opening the Internet site, which means that the server will decline your visitor’s request, or you can forward your domain name to a different URL, so the server may redirect the visitor to the new web address. Also you can use custom error pages or protect any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to operate efficiently.
.htaccess Generator in Shared Website Hosting
If you get any of our shared website hosting solutions, you can take advantage of our easy-to-use .htaccess generator tool, that is part of the Hepsia CP. You will not need to know what syntax the various directives in this kind of a file need to have, because our tool is super easy to use and you shall only need to check boxes or input URLs, so you can certainly use an .htaccess file even when you have never had a web hosting account before. Our .htaccess generator provides a large amount of options - you could block IP addresses, set the first page that loads when somebody opens your website, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You'll even be able to set a different PHP version for each one of your websites.
.htaccess Generator in Semi-dedicated Servers
The semi-dedicated plans that we provide include a powerful, but time and effort saving .htaccess generator tool, which will provide you with the opportunity to use this kind of a file for any purpose even when you are not experienced. The tool is included in the Hepsia Control Panel and has the same intuitive interface. If you'd like to use any of the options that may be enabled via an .htaccess file, you just have to check the box next to it within the list which you will find when you open the tool. You may also select in which directory of your account the file will be created and you shall be ready. An .htaccess file can be used to set a PHP version for a specific website that is different from the version that the account itself takes advantage of. If you have any difficulties, we have detailed help articles and video lessons that shall explain to you first-hand how to activate any option which is available within the tool.