Server Side Includes (SSI) is actually a list of directives that will allow you to include the content of a text file within an HTML file. In this manner, you are able to add any kind of content to various web pages in your website and modify it by simply modifying one text file. You can additionally add the output of various scripts so that the current date and time, the IP address of the visitor or the attributes of some file show on your website. This will help you add in some dynamic content to static webpages, making the website more appealing to your site visitors and creating a professional look and feel. It will also be quicker to update this content compared to editing every static page one by one. If you wish to use Server Side Includes in your website, the web pages that include the content of any kind of file must be with extension .shtml.
Server Side Includes in Hosting
It will be easy to use Server Side Includes with all of the hosting plans that we offer you and enable it separately for every single domain name or subdomain within your hosting account. You can do this by using an .htaccess file, which should be placed into the folder in which you wish to use SSI and you need to put a couple of lines of code in that file. You can find the code in our Knowledgebase section, so you're able to just copy it, since you do not need any coding capabilities to take advantage of all features that our solutions include. If you have by now built your website and you want to use Server Side Includes later, you have to make certain that you rename the files from .html to .shtml and correct the links on the site, or else SSI won't work.