Server Side Includes (SSI) is a basic server-side language, which allows you to include text from a given source within a website. In the most widespread scenario, the text from a single file is included in a second one, giving a site the sense that it is dynamic. For instance, in case your site consists of ten web pages, 5 of them can have the content of any kind of file, for example horoscope.txt. As soon as you modify this text file, the new content will appear on all of the five webpages, which shall help you revise your site faster and easier than if you had to change a component of all 5 web pages. Server Side Includes is sometimes employed to include the output of basic commands, scripts or functions as well - a hit counter that is shown on the site, the current date and time or the customer's IP address. Any webpage that employs SSI must have a particular extension - .shtml.
Server Side Includes in Website Hosting
Server Side Includes is available on our innovative cloud hosting platform, so no matter the Linux website hosting package you choose, it will be possible to utilize this function making your site much more dynamic. Everything you need to do is going to be create a file called .htaccess in the home folder for the domain or subdomain in which you wish to use SSI and include a couple of lines of code inside. You'll not require any coding skills though, as you can basically copy the needed code from our help section, or our technical support can help you enable SSI for a given site. You just need to customize the extension of the html file that will employ Server Side Includes to .shtml and make certain that all of the links to those pages on the site are appropriate.