With an .htaccess file, you will define how the web server which manages the requests to your Internet sites must act in a variety of situations. This is a text file with directives that are carried out when somebody tries to open your website and what happens next will depend on the content of the file. As an example, you could block a particular IP address from opening the site, which means that the server will decline your visitor’s request, or you can forward your domain to some other URL, so the server will direct the visitor to the new web address. Also you can use customized error pages or preserve any part of your website with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, such as WordPress, Joomla and Drupal, use an .htaccess file to operate efficiently.

.htaccess Generator in Cloud Hosting

You can use an .htaccess file for any purpose on our revolutionary cloud platform no matter which cloud hosting you choose when you sign up. What is more, if you want to use one of the functions that this kind of a file offers, but you do not have a lot of experience, you may use our .htaccess generator tool, which shall provide you with an easy-to-use interface where you can use checkboxes and input only file names or URLs. That way, you could work with an .htaccess file even if you do not know the syntax of the directives you need to use in general. With only a few clicks, you will be able to forward a domain, to select a different home page for a website, or to even set a different version of PHP for a particular website, which can be different from the version your hosting account uses.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server packages provide an .htaccess generator tool, which is easy enough to be used by people with no previous experience. You shall be able to access it using your Hepsia CP and use a user-friendly interface to enable any option you want. Once you choose the folder in which our system will set up the .htaccess file, you just have to check the boxes beside the options that you would like to activate, then save the changes and you will be good to go. The one thing you shall have to type by hand shall be a URL - if you would like to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you would like to use custom error pages. Our platform shall also permit you to set the PHP version which a site will use by adding an .htaccess file in its root folder, even if your account in its entirety uses a different version.