With an .htaccess file, you will define how the web server which deals with the requests to your web sites should act in different occasions. This is a text file with directives that are executed when somebody tries to open your website and what happens next will depend on the content of the file. As an example, you could block a certain IP address from opening your website, therefore the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server may direct the visitor to the new web address. You could also use personalized error pages or shield any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, like Joomla, WordPress and Drupal, use an .htaccess file to operate properly.
.htaccess Generator in Cloud Website Hosting
We have an easy-to-use .htaccess generator tool that will enable you to create and use this kind of files without difficulty even if you have zero previous experience and you do not know the syntax of the specific directives for this sort of a file. The tool is part of the Hepsia Control Panel, included with our Linux cloud website hosting service and any option within it can be enabled by selecting acheckbox and eventually by inputting a username or a URL, depending on what exactly you intend to do with the .htaccess file. You can also decide where the file should be created, so you won't have to do anything manually before or after that. With an .htaccess file, you will also be able to choose the PHP version that'll be active for a particular domain, even when it isn't the same version as the one for the whole account.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server plans include an .htaccess generator tool, that's easy enough to be used by people without previous experience. You'll be able to access it through your Hepsia Control Panel and employ an intuitive interface to enable any option you would like. As soon as you select the folder where our system will create the .htaccess file, you just have to check the boxes next to the options that you want to enable, then save the changes and you will be good to go. The one thing you will have to input by hand shall be a URL - if you want to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you would like to use custom error pages. Our platform shall also allow you to set the PHP version which a site will use by adding an .htaccess file in its root folder, even when your account in general uses a different version.