With an .htaccess file, you can determine how the web server which handles the requests to your websites should act in different situations. This is a text file with directives that are performed when someone tries to open your site and what happens next is determined by the content of the file. For example, you may block a specific IP address from accessing your website, which means that the server will decline your visitor’s request, or you can redirect your domain to an alternative URL, so the server may direct the visitor to the new web address. You could also use custom-made error pages or protect any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, such as Joomla, Drupal and WordPress, use an .htaccess file to work efficiently.

.htaccess Generator in Shared Hosting

If you wish to use any of the functions an .htaccess file provides, but you have not dealt with this type of matters before, you need to use the .htaccess generator tool offered with all of our shared hosting packages. The tool is part of our in-house built Hepsia CP and it shall provide you with a simple and intuitive means to create an .htaccess file within any folder that you've created in the account. Quite a few options shall be available with checkboxes, so you should only pick the one that you need and eventually type a URL - if you are using the file to redirect a domain or to set customized error pages for any of your Internet sites. Considering that our cloud platform supports a number of different PHP versions, you'll also be able to set any of these versions for any of your sites even if it's different from the version set for your Internet hosting account as a whole.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server packages provide an .htaccess generator tool, which is easy enough to be used by individuals without previous experience. You shall be able to access it using your Hepsia CP and employ an easy-to-use interface to enable any option you would like. After you select the folder where our system will create the .htaccess file, you only need to check the boxes beside the options you want to activate, then save the changes and you will be all set. The one thing you shall have to enter manually shall be a URL - if you would like to use the .htaccess file to forward one of your domains/subdomains to a different address or if you want to use custom made error pages. Our platform shall also permit you to set the PHP version that an Internet site will use by placing an .htaccess file in its root folder, no matter if your account as a whole uses a different version.