With an .htaccess file, you can define how the server which handles the requests to your websites have to act in various occasions. This is a text file with directives that are carried out when somebody tries to open your site and what happens next is determined by the content of the file. For instance, 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 a different URL, so the server will redirect the visitor to the new web address. Also you can use personalized error pages or protect any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, including Drupal, Joomla and WordPress, use an .htaccess file to work efficiently.
.htaccess Generator in Shared Hosting
You could use an .htaccess file for any purpose on our revolutionary cloud platform no matter which shared hosting plan you choose when you sign up. Additionally, if you'd like to use one of the functions that such a file offers, but you do not have much experience, you can use our .htaccess generator tool, that will provide you with an easy-to-use interface where you can use checkboxes and input only file names or URLs. This way, you'll be able to take advantage of an .htaccess file even if you do not know the syntax of the directives you have to use in general. With a few mouse clicks, you will be able to redirect a domain, to pick another homepage for an Internet site, or to even set a different version of PHP for a certain website, which could be different from the version that your web hosting account uses.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server packages come with an .htaccess generator tool, which is easy enough to be used by people with no previous experience. You shall be able to access it through your Hepsia Control Panel and use a user-friendly interface to activate any option you want. After you pick the folder in which our system will create the .htaccess file, you only need to check the boxes beside the options that you want to activate, then save the changes and you will be all set. The one thing you will have to enter by hand will be a URL - if you'd like to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you want to use personalized error pages. Our platform will also permit you to set the PHP version that a site will use by placing an .htaccess file within its root folder, even if your account in general uses a different version.