Server Side Includes (SSI) is a simple server-side language, which enables you to include text from a given source inside a website. In the most widespread scenario, the text from a file is incorporated in a different one, providing a site the feeling it is dynamic. For instance, if your website includes 10 pages, 5 of them can easily include the content of some file, such as horoscope.txt. Any time you modify this text file, the updated content will appear on all of the five pages, which will enable you to bring up to date your site faster and easier than if you had to update a component of all 5 web pages. Server Side Includes is occasionally utilized to include the output of basic commands, scripts or functions as well - a hit counter that's shown on the site, the present date and time or the customer's IP address. Any web page that works by using SSI should have a unique extension - .shtml.
Server Side Includes in Hosting
As our custom made cloud hosting platform has Server Side Includes on a global level, you are able to implement this feature with any of the hosting packages that we feature and bring dynamic content to your sites with just a few mouse clicks. SSI is activated for each particular domain or subdomain by inserting an .htaccess file in the website folder with a couple of lines of code. Naturally, you don't have to turn into a developer for that as the needed code can be copied from the Help article that we have concerning Server Side Includes. If you'd like to utilize this function for your website, you need to rename your site files from .html to .shtml and you have to double-check if all links on your site point to the up-to-date names.