Server Side Includes (SSI) is actually a group of directives that will allow you to contain the content of a text file within an HTML file. This way, you are able to add some content to various pages in your site and modify it by just modifying just one text file. You can additionally incorporate the output of distinctive scripts in order that the present time and date, the IP address of the visitor or the properties of some file show on your site. This will allow you to incorporate some dynamic content to static webpages, making the site more inviting to your visitors and giving it a much more professional appearance. It will be easier to revise this content when compared with editing every static web page one by one. If you want to use Server Side Includes in your website, the pages that contain the content of any kind of file should be with extension .shtml.
Server Side Includes in Cloud Website Hosting
You'll be able to use Server Side Includes with all cloud website hosting plans that we offer you and activate it separately for every single domain or subdomain inside of your hosting account. This can be accomplished when using an .htaccess file, which needs to be positiioned in the folder where you want to use SSI and you have to put a few lines of code in that file. You'll find the code inside our Knowledgebase section, so you're able to simply just copy and paste it, as you do not need any coding knowledge to take advantage of all capabilities that our solutions have. In case you have already built your site and you would like to use Server Side Includes afterwards, you must make certain that you rename the files from .html to .shtml and fix the links on the site, or else SSI won't work.
Server Side Includes in Semi-dedicated Servers
When you get a semi-dedicated server package from us, it is possible to enable Server Side Includes with a couple clicks and for virtually any domain name or subdomain of your choosing. You will find an in depth Help article on the subject you could see in your Hepsia Hosting Control Panel. All you need to activate Server Side Includes will be to copy a number of lines from the article in an .htaccess file that you ought to create in the main folder of the domain/subdomain and you'll be ready to go. You need to only ensure that all of the files using SSI possess the correct extension i.e. .shtml, not .html, and that the links on your site are updated and point to the by now updated files.