With an .htaccess file, you can define how the web server that manages the requests to your Internet sites have to act in a variety of cases. This is a text file with directives that are performed when somebody tries to open your site and what happens next depends on the content of the file. For example, you can block a particular IP address from accessing the website, therefore the server will decline the visitor’s request, or you can forward your domain name to a different URL, so the server may redirect the visitor to the new web address. Also you can use custom error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, such as Drupal, Joomla and WordPress, use an .htaccess file to function properly.

.htaccess Generator in Website Hosting

You could use an .htaccess file for any purpose on our modern cloud platform no matter which Linux website hosting package you choose when you sign up. Also, if you'd like to use one of the features that this sort of a file provides, but you do not have much experience, you can use our .htaccess generator tool, that shall provide you with an easy-to-use interface where you can use checkboxes and type only file names or URLs. In this way, you could use an .htaccess file even if you do not know the syntax of the directives you have to use in general. With only a few mouse clicks, you shall be able to redirect a domain, to pick another home page for a website, or to even set a different version of PHP for a particular website, which could be different from the version which your website hosting account uses.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server solutions offer an .htaccess generator tool, which is easy enough to be used by individuals with zero previous experience. You shall be able to access it via your Hepsia CP and employ an easy-to-use interface to enable any option you want. After you pick the folder in which our system will create the .htaccess file, you simply need to check the boxes beside the options that you would like to enable, then save the changes and you'll be good to go. The only thing you'll have to enter by hand will 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 want to use personalized error pages. Our platform shall also enable you to set the PHP version that an Internet site will use by placing an .htaccess file in its root folder, regardless if your account in its entirety uses a different version.