With an .htaccess file, you can define how the web server that deals with the requests to your web sites should act in various situations. This is a text file with directives that are performed when someone tries to open your website and what happens next is determined by the content of the file. As an illustration, you may block a specific IP address from accessing the website, and the server will decline the visitor’s request, or you can forward your domain name to an alternative URL, so the server will direct the visitor to the new web address. Also you can use custom error pages or shield any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many well-known script-driven apps, like Joomla, Drupal and WordPress, use an .htaccess file to function correctly.
.htaccess Generator in Hosting
We have an easy-to-use .htaccess generator tool that will permit you to create and use this type of files without any difficulties even if you don't have any previous experience and you don't know the syntax of the respective directives for such a file. The tool is part of the Hepsia Control Panel, which comes with our Linux hosting plans and any option inside it could be allowed by choosing acheckbox and eventually by typing a username or a URL, based on what exactly you would like to do with the .htaccess file. You may also select where the file should be created, so you shall not need to do anything by hand before or after that. With an .htaccess file, you shall also be able to select the PHP version that'll be enabled for a given domain, no matter if it is not the same version as the one for the entire account.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server plans feature an .htaccess generator tool, that is easy enough to be used by people with no previous experience. You shall be able to access it using your Hepsia Control Panel and benefit from an intuitive interface to enable any option you'd like. After you choose the folder in which our system will create the .htaccess file, you simply need to check the boxes next to the options that you'd like to activate, then save the changes and you shall be good to go. The one thing you'll have to input manually shall be a URL - if you wish to use the .htaccess file to forward one of your domains/subdomains to a different address or if you want to use customized error pages. Our platform shall also allow you to set the PHP version that a website will use by putting an .htaccess file within its root folder, no matter if your account in its entirety uses a different version.