With an .htaccess file, you'll specify how the web server that deals with the requests to your websites should act a number of occasions. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next depends on the content of the file. As an illustration, you could block a particular IP address from accessing your website, which means that the server will decline the visitor’s request, or you can forward your domain to a different URL, so the server will redirect 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 well-known script-driven apps, including Joomla, WordPress and Drupal, use an .htaccess file to function efficiently.
.htaccess Generator in Shared Web Hosting
If you want to use any of the features that an .htaccess file provides, but you've never dealt with this type of matters before, you can use the .htaccess generator tool that comes with all our shared web hosting plans. The tool is part of our in-house built Hepsia Control Panel and it'll offer you an uncomplicated and user-friendly means to set up an .htaccess file within any folder which you have created within the account. Many options will be available with checkboxes, so you should only select the one you need and eventually input a URL - if you are using the file to redirect a domain or to set personalized error pages for each of your Internet sites. Since our cloud platform supports a number of PHP versions, you will also be able to set any of these versions for each of your Internet sites regardless if it's different from the version set for your Internet hosting account as a whole.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server solutions include an .htaccess generator tool, which is simple enough to be used by people without previous experience. You'll be able to access it through your Hepsia CP and take advantage of an easy-to-use interface to activate any option you want. As soon as you select the folder in which our system will set up the .htaccess file, you just have to check the boxes beside the options that you would like to activate, then save the changes and you'll be ready. The one thing you'll have to type manually will be a URL - if you'd like to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you want to use personalized error pages. Our platform shall also allow you to set the PHP version that an Internet site will use by putting an .htaccess file in its root folder, regardless if your account in general uses a different version.