With an .htaccess file, you will define how the server which deals with the requests to your websites have to 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. For example, you may block a specific IP address from opening your website, and the server will decline your visitor’s request, or you can forward your domain name to an alternative URL, so the server may direct the visitor to the new web address. You may also use custom error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, like Joomla, Drupal and WordPress, use an .htaccess file to work properly.
.htaccess Generator in Shared Hosting
We have an intuitive .htaccess generator tool that will allow you to set up and use this sort of files without issues even if you don't have previous experience and you do not know the syntax of the particular directives for this sort of a file. The tool is part of the Hepsia Control Panel, offered with our Linux shared hosting and any option within it may be enabled by picking acheckbox and eventually by entering a username or a URL, depending on what exactly you need to do with the .htaccess file. You may also select where the file should be created, so you will not need to do anything by hand before or after that. Through an .htaccess file, you shall also be able to select the PHP version which will be enabled for a given domain, even if it's not the same version as the one for the entire account.
.htaccess Generator in Semi-dedicated Servers
The Linux semi-dedicated hosting plans that we offer feature a powerful, but easy-to-use .htaccess generator tool, which will give you the option to use this sort of a file for any purpose even if you are not experienced. The tool is integrated into the Hepsia CP and has the same intuitive interface. If you want to use any of the options which could be activated with an .htaccess file, you just have to check the box next to it within the list that you will find when you open the tool. You can also pick in which directory of your account the file will be created and you'll be good to go. An .htaccess file may also be used to set a PHP version for a specific website that differs from the version which the account itself uses. In case you have any troubles, we have in-depth help articles and educational videos that shall demonstrate first-hand how to activate any option which is available inside the tool.