With an .htaccess file, you will specify how the web server which handles the requests to your Internet sites have to act in a variety of cases. 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. For instance, you may block a certain IP address from accessing the website, therefore the server will decline your visitor’s request, or you can forward your domain name to a different URL, so the server will redirect the visitor to the new web address. You can also use custom-made error pages or shield any part of your website with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, including Drupal, Joomla and WordPress, use an .htaccess file to function properly.
.htaccess Generator in Web Hosting
We have an easy-to-work-with .htaccess generator tool that will permit you to set up and use this kind of files with no trouble even if you don't have any previous experience and you do not know the syntax of the respective directives for this type of a file. The tool is part of the Hepsia Control Panel, offered with our web hosting plans and any option within it could be activated by selecting acheckbox and eventually by inputting a username or a URL, based upon what exactly you would like to do with the .htaccess file. You could also select where the file should be created, so you will not need to do anything by hand before or after that. With an .htaccess file, you'll also be able to choose the PHP version which will be active for a specific domain, even when it's not the same version as the one for the entire account.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server packages feature an .htaccess generator tool, that's easy enough to be used by people without previous experience. You shall be able to access it using your Hepsia CP and benefit from an easy-to-use interface to activate any option you would like. After you pick the folder where our system will create the .htaccess file, you just need to check the boxes next to the options that you would like to enable, then save the changes and you shall be good to go. The only thing you will have to type in 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 prefer to use personalized error pages. Our platform will also permit you to set the PHP version which a site will use by placing an .htaccess file within its root folder, even if your account in its entirety uses a different version.