With an .htaccess file, you shall define how the web server that handles the requests to your websites should act in a variety of scenarios. This is a text file with directives that are executed when an individual tries to open your Internet site and what happens next will depend on the content of the file. For example, you can block a specific IP address from opening the Internet site, and the server will decline your visitor’s request, or you can redirect your domain name to a different URL, so the server will redirect the visitor to the new web address. You could also use customized error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to function correctly.

.htaccess Generator in Shared Web Hosting

We have an easy-to-work-with .htaccess generator tool that will enable you to set up and use such files without any difficulties even if you have no previous experience and you do not know the syntax of the particular directives for this kind of a file. The tool is part of the Hepsia Control Panel, supplied with our shared web hosting plans and any option in it may be enabled by picking acheckbox and eventually by inputting a username or a URL, based on what exactly you intend to do with the .htaccess file. You may also decide where the file should be created, so you will not have to do anything by hand before or after that. Using an .htaccess file, you'll be able to pick the PHP version which will be active for a specific domain, even if it isn't the same version as the one for the entire account.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server solutions offer an .htaccess generator tool, that's simple enough to be used by individuals with no previous experience. You will be able to access it via your Hepsia Control Panel and employ a user-friendly interface to enable any option you want. After you pick the folder where our system will create the .htaccess file, you simply need to check the boxes beside the options that you'd like to enable, then save the changes and you'll be set. The only thing you shall have to input by hand shall be a URL - if you would like to use the .htaccess file to forward one of your domains/subdomains to another address or if you want to use custom error pages. Our platform shall also permit you to set the PHP version that a website will use by adding an .htaccess file inside its root folder, no matter if your account in its entirety uses a different version.