With an .htaccess file, you'll specify how the web server which addresses the requests to your Internet sites have to act in various situations. This is a text file with directives that are executed when an individual tries to open your website and what happens next will depend on the content of the file. As an illustration, you can block a certain IP address from opening your website, and the server will decline your visitor’s request, or you can forward your domain name to some other URL, so the server may redirect the visitor to the new web address. You could also use customized error pages or secure any part of your website with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven applications, such as Joomla, Drupal and WordPress, use an .htaccess file to operate correctly.
.htaccess Generator in Shared Hosting
You may use an .htaccess file for any purpose on our modern cloud platform no matter which Linux shared hosting package you select when you sign up. Furthermore, if you'd like to use one of the features that this sort of a file offers, but you do not have a lot of experience, you will be able to use our .htaccess generator tool, that will provide you with an easy-to-use interface where you can use checkboxes and enter 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 that you have to use in general. With just a few clicks, you will be able to redirect a domain, to select a different homepage for a website, or to even set a different version of PHP for a certain Internet site, which could be different from the version which your hosting account uses.
.htaccess Generator in Semi-dedicated Hosting
Our semi-dedicated server solutions include an .htaccess generator tool, that is simple enough to be used by people with no previous experience. You shall be able to access it via your Hepsia Control Panel and take advantage of an easy-to-use interface to activate any option you want. Once you select the folder in which our system will create the .htaccess file, you just need to check the boxes next to the options which you want to activate, then save the changes and you will be good to go. The one thing you shall have to enter by hand shall 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 prefer to use customized error pages. Our platform will also permit you to set the PHP version which a site will use by placing an .htaccess file within its root folder, no matter if your account in general uses a different version.