With an .htaccess file, you can 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 executed when someone tries to open your site and what happens next is determined by the content of the file. As an example, you could block a specific IP address from opening the Internet site, therefore the server will decline your visitor’s request, or you can forward your domain name to a different URL, so the server will direct the visitor to the new web address. Also you can use customized error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven applications, like WordPress, Joomla and Drupal, use an .htaccess file to function properly.
.htaccess Generator in Shared Hosting
You can use an .htaccess file for any purpose on our ground breaking cloud platform no matter which shared hosting plan you pick when you sign up. In addition, if you need to use one of the functions which such a file offers, but you do not have much experience, you will be able to use our .htaccess generator tool, which will provide you with an easy-to-use interface where you can use checkboxes and type in only file names or URLs. This way, you can work with an .htaccess file even though you may not know the syntax of the directives that you have to use in general. With only a few mouse clicks, you shall be able to redirect a domain, to choose an alternative homepage for an Internet site, or to even set a different version of PHP for a specific website, which can be different from the version that your website hosting account uses.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server solutions offer an .htaccess generator tool, that's simple enough to be used by people without previous experience. You shall be able to access it via your Hepsia CP and take advantage of an intuitive interface to enable any option you want. When you select the folder in which our system will set up the .htaccess file, you just need to check the boxes next to the options which you want to enable, then save the changes and you will be ready. The one thing you will have to input manually shall be a URL - if you'd like to use the .htaccess file to forward one of your domains/subdomains to another address or if you prefer to use custom made error pages. Our platform shall also enable you to set the PHP version which a website will use by adding an .htaccess file within its root folder, even if your account in general uses a different version.