Server Side Includes (SSI) is actually a list of directives that will allow you to include the content of a text file in an HTML file. This way, you're able to add some content to a few different pages on your site and change it just by editing a single text file. You're able to additionally incorporate the output of various scripts in order that the current time and date, the IP address of the website visitor or the properties of a file show up on your site. This will help you add in some dynamic content to static web pages, making the site more inviting to your site visitors and creating a much more professional appearance. It will also be simpler to update this content in comparison to editing every static web page one at a time. If you wish to use Server Side Includes in your site, the web pages that incorporate the content of any kind of file need to be with extension .shtml.
Server Side Includes in Shared Web Hosting
Since our customized cloud hosting platform supports Server Side Includes on a global level, you will be able to make use of this feature with any of the shared web hosting plans we feature and bring dynamic content to your websites with a few mouse clicks. SSI can be enabled for every specific domain or subdomain by placing an .htaccess file in the site folder with just a few lines of code. Of course, there is no need to be a developer for that since the required code can be copied from the Help post that we have about Server Side Includes. If you want to use this feature for your website, you have to rename your website files from .html to .shtml and you will have to double-check if all of the links on your website point to the modified names.
Server Side Includes in Semi-dedicated Servers
Server Side Includes may be enabled effortlessly with every semi-dedicated server plan that our company offers and the full process shall take you under a minute and just a number of clicks. You can activate SSI by setting up an empty .htaccess file in a domain name or subdomain main folder using the File Manager tool in the Hosting Control Panel or an FTP application of your choosing, then adding a number of lines of code, that you will be able to copy out of the SSI article in our comprehensive Knowledgebase. The only thing remaining after that is to double-check if all of the webpages that shall make use of Server Side Includes are updated from .html to .shtml and to alter backlinks to different web pages on your site, to reflect the modifications in the file extensions.