With an .htaccess file, you can determine how the server that handles the requests to your websites must act in a variety of scenarios. This is a text file with directives that are performed when an individual tries to open your Internet site and what happens next is determined by the content of the file. For example, you may block a certain IP address from accessing your website, which means that the server will decline your visitor’s request, or you can forward your domain to some other URL, so the server may direct the visitor to the new web address. You may also use custom-made error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to function properly.
.htaccess Generator in Shared Hosting
You could use an .htaccess file for any purpose on our modern cloud platform no matter which Linux shared hosting you select when you sign up. What is more, if you need to use one of the features that this kind of a file provides, but you don't have a lot of experience, you can certainly use our .htaccess generator tool, that shall offer you an easy-to-use interface where you can use checkboxes and type in only file names or URLs. In this way, you'll be able to use an .htaccess file even if you do not know the syntax of the directives you need to use in general. With a few mouse clicks, you shall be able to redirect a domain, to choose an alternative home page for a site, or to even set a different version of PHP for a certain website, which could be different from the version which your hosting account uses.
.htaccess Generator in Semi-dedicated Hosting
The semi-dedicated hosting which we provide come with an efficient, but user-friendly .htaccess generator tool, which will provide you with the option to use such a file for any purpose even if you're not experienced. The tool is included in the Hepsia CP and has the same intuitive interface. If you would like to use some of the options which could be enabled using an .htaccess file, you simply need to check the box next to it in the list that you'll find when you open the tool. You may also decide in which directory of your account the file will be created and you'll be all set. An .htaccess file could also be used to set a PHP version for a certain website that is different from the version which the account itself takes advantage of. In case you have any troubles, we have detailed help articles and video lessons which will show you first-hand how to activate any option available within the tool.