With an .htaccess file, you can determine how the server that deals with the requests to your web sites should act in various scenarios. This is a text file with directives that are carried out when someone tries to open your website and what happens next depends on the content of the file. As an illustration, you may block a certain IP address from accessing the website, and the server will decline the visitor’s request, or you can forward your domain to an alternative URL, so the server may direct the visitor to the new web address. Also you can use custom-made error pages or shield any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, including WordPress, Drupal and Joomla, use an .htaccess file to work properly.
.htaccess Generator in Hosting
When you purchase any of our hosting plans, you can take advantage of our user-friendly .htaccess generator tool, that is part of the Hepsia CP. You won't need to know what syntax the different directives in this kind of a file need to have, since our tool is easy to use and you shall only need to check boxes or input URLs, so you can certainly use an .htaccess file even if you have never had an Internet hosting account before. Our .htaccess generator offers a lot of options - you can block IP addresses, set the first page that loads when somebody opens your Internet site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You shall even be able to set a different PHP version for each of your Internet sites.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server plans provide an .htaccess generator tool, which is easy enough to be used by people without previous experience. You shall be able to access it via your Hepsia CP and use an intuitive interface to activate any option you want. When you pick the folder in which our system will set up the .htaccess file, you simply need to check the boxes next to the options which you want to enable, then save the changes and you shall be ready. The only thing you'll 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 a different address or if you would like to use customized error pages. Our platform shall also enable you to set the PHP version that a website will use by adding an .htaccess file in its root folder, even when your account in its entirety uses a different version.