With an .htaccess file, you'll define how the web server that addresses the requests to your Internet sites have to act in a variety of occasions. This is a text file with directives that are executed when someone tries to open your Internet site and what happens next depends on the content of the file. As an example, you could block a specific IP address from opening your website, so the server will decline the 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. You may also use customized error pages or preserve any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, including Drupal, Joomla and WordPress, use an .htaccess file to work correctly.
.htaccess Generator in Website Hosting
When you get any of our website hosting plans, you can benefit from our easy-to-use .htaccess generator tool, which is part of the Hepsia Control Panel. You shall not need to know what syntax the many directives in such a file should have, because 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 in case you have never had an Internet hosting account before. Our .htaccess generator provides a number of options - you'll be able to block IP addresses, set the first page that loads when someone opens your site, set up password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You'll even be able to set a different PHP version for each one of your websites.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server solutions offer an .htaccess generator tool, which is easy enough to be used by individuals without previous experience. You'll be able to access it via your Hepsia Control Panel and take advantage of an easy-to-use interface to enable any option you need. When you select the folder in which our system will create the .htaccess file, you simply need to check the boxes beside the options you want to activate, then save the changes and you'll be all set. The one thing you will have to type in manually shall be a URL - if you'd like to use the .htaccess file to redirect one of your domains/subdomains to another address or if you would like to use custom made error pages. Our platform will also enable you to set the PHP version that an Internet site will use by placing an .htaccess file inside its root folder, no matter if your account as a whole uses a different version.