Server Side Includes (SSI) is actually a group of directives that will permit you to contain the content of a text file within an HTML file. In this manner, you can add some content to various web pages on your website and change it just by updating one text file. You can additionally add the output of distinctive scripts so that the present time and date, the IP address of the website visitor or the attributes of some file show on your site. This will let you add some dynamic content to static web pages, making the site more desirable to your website visitors and giving it a far more professional overall appearance. It will also be quicker to update this content in comparison with updating every static page one by one. If you would like to use Server Side Includes on your site, the web pages that contain the content of some file need to be with extension .shtml.
Server Side Includes in Shared Hosting
As our customized cloud hosting platform features Server Side Includes on a global level, it is possible to use this feature with any of the shared hosting packages we have and add in dynamic content to your sites with only a few clicks. SSI is enabled for each particular domain or subdomain by inserting an .htaccess file in the site folder with a few lines of code. Of course, you don't have to become a developer for that because the needed code can be copied from the Help article we have related to Server Side Includes. If you would like to utilize this feature for your site, you must rename your website files from .html to .shtml and you've got to double-check if all links on your website point to the modified names.
Server Side Includes in Semi-dedicated Hosting
Server Side Includes may be enabled easily with each semi-dedicated server package that we offer and the whole process will take you only a minute and merely several mouse clicks. You can activate SSI by creating a blank .htaccess file in a domain or subdomain root folder using the File Manager tool in the Hosting Control Panel or perhaps an FTP app of your choosing, then adding a couple of lines of code, which you will be able to copy from the SSI article within our detailed Knowledgebase. The only thing left after that shall be to double-check if all web pages that shall make use of Server Side Includes are updated from .html to .shtml and then to modify the links to different pages on your site, to represent the modifications in the file extensions.