With an .htaccess file, you can determine how the web server that handles the requests to your Internet sites should act in various scenarios. This is a text file with directives that are carried out when an individual tries to open your site and what happens next is determined by the content of the file. As an illustration, you may block a certain IP address from opening the Internet site, and the server will decline your visitor’s request, or you can redirect your domain name to some other URL, so the server will redirect the visitor to the new web address. You may also use custom-made error pages or preserve any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to operate correctly.

.htaccess Generator in Shared Web Hosting

You can use an .htaccess file for any purpose on our innovative cloud platform regardless of which Linux shared web hosting plan you pick when you sign up. What is more, if you would like use one of the functions which this sort of a file provides, but you do not have very much experience, you may use our .htaccess generator tool, which shall offer you an easy-to-use interface where you can use checkboxes and enter only file names or URLs. This way, you are able to take advantage of an .htaccess file even if you do not know the syntax of the directives that you have to use in general. With only a few clicks, you shall be able to forward a domain, to choose an alternative homepage for a website, or to even set a different version of PHP for a certain Internet site, which may be different from the version your web hosting account uses.

.htaccess Generator in Semi-dedicated Servers

If you create a semi-dedicated server account with us, you will be able to use our efficient, albeit simple-to-use .htaccess generator tool, that's offered with the Hepsia hosting Control Panel. You could choose the folder where the file shall be set up and after that you will simply have to select a checkbox next to each option that you'd like to use - it's as simple as that. If you would like to set up URL forwarding or to set custom error pages for any of your Internet sites, you'll have to type in a web address, but you will not have to type in any special code at any time, so you may use our tool even if you have no previous experience. As our sophisticated hosting platform supports a number of versions of PHP, you'll also be able to choose the version which any site will use, even if it's not like the one selected for the account as a whole.