With an .htaccess file, you can determine how the web server which handles the requests to your web sites must 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 will depend on the content of the file. For instance, you can block a certain IP address from opening the site, and the server will decline the visitor’s request, or you can redirect your domain to another URL, so the server will direct 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 widely used script-driven applications, like WordPress, Drupal and Joomla, use an .htaccess file to operate properly.
.htaccess Generator in Website Hosting
When you get any of our website hosting packages, you can take advantage of our easy-to-use .htaccess generator tool, that's part of the Hepsia Control Panel. You shall not need to know what syntax the different directives in such a file need to have, as our tool is easy to use and you shall only need to check boxes or enter URLs, so you can certainly use an .htaccess file even in case you have never had an Internet hosting account before. Our .htaccess generator offers a number of options - you can block IP addresses, set the first page that loads when a person opens your Internet site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus more. You will even be able to set a different PHP version for each of your Internet sites.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server packages include an .htaccess generator tool, which is simple enough to be used by individuals without previous experience. You will be able to access it via your Hepsia CP and take advantage of an easy-to-use interface to activate any option you'd like. As soon as you choose the folder in which our system will create the .htaccess file, you just have to check the boxes next to the options that you would like to enable, then save the changes and you shall be all set. The one thing you'll have to input by hand will be a URL - if you wish to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you want to use customized error pages. Our platform will also enable you to set the PHP version that a site will use by putting an .htaccess file within its root folder, even when your account in its entirety uses a different version.