With an .htaccess file, you can define how the web server that addresses the requests to your web sites should act in various scenarios. This is a text file with directives that are performed when an individual tries to open your website and what happens next will depend on the content of the file. As an example, you could block a specific IP address from accessing the Internet site, therefore the server will decline the visitor’s request, or you can redirect your domain to a different URL, so the server will direct the visitor to the new web address. Also you can use custom-made error pages or protect any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, including WordPress, Joomla and Drupal, use an .htaccess file to work correctly.

.htaccess Generator in Shared Hosting

We have an easy-to-use .htaccess generator tool that will allow you to set up and use such files without issues even if you don't have any previous experience and you do not know the syntax of the specific directives for this kind of a file. The tool is part of the Hepsia Control Panel, which comes with our Linux shared hosting service and any option within it can be allowed by picking acheckbox and eventually by inputting a username or a URL, based on what exactly you would like to do with the .htaccess file. You can also select where the file should be created, so you shall not need to do anything manually after or before that. Through an .htaccess file, you'll be able to select the PHP version that'll be active for a specific domain, even if it is not the same version as the one for the whole account.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans come with an .htaccess generator tool, that's simple enough to be used by people without previous experience. You will be able to access it using your Hepsia CP and use an easy-to-use interface to activate any option you need. Once you select the folder in which our system will set up the .htaccess file, you just have to check the boxes next to the options that you would like to enable, then save the changes and you shall be set. The one thing you'll have to type in manually will be a URL - if you would like to use the .htaccess file to redirect one of your domains/subdomains to another address or if you would like to use custom made error pages. Our platform shall also allow you to set the PHP version which a website will use by putting an .htaccess file in its root folder, even when your account in general uses a different version.