Server Side Includes (SSI) is a well-known server-side scripting language, which is used to incorporate the content of one file within a second file. It's used principally with online content and it will help to make a static HTML website more dynamic. If you wish to have a daily quote shown on a variety of pages within your site, as an example, you can create a text file and replace the quote within it every day. All the webpages in which this file is included are going to show the updated quote, so you'll not need to modify every one of them personally each time. SSI could also be used to contain the output of simple functions instead of a static file - for example, the visitor's IP address, a hit counter or maybe the current time and date. In this manner, you may make your internet site seem far more professional and a lot more appealing to the website visitors. Web pages that use SSI get a .shtml extension.
Server Side Includes in Hosting
Server Side Includes is supported on our progressive cloud hosting platform, so regardless of the Linux hosting package that you pick, it's possible to make use of this function and make your website much more dynamic. All you must do is to make a file called .htaccess in the main folder for the domain or subdomain where you want to use SSI and include a few lines of code inside it. You will not require any kind of coding skills though, as you're able to just copy the needed code from the help section, or our tech support team can assist you to activate SSI for any specific website. You need to simply customize the extension of the html file that will employ Server Side Includes to .shtml and make sure that all links to these pages on the site are accurate.