Server Side Includes (SSI) is a range of directives that will permit you to include the content of a text file within an HTML file. By doing this, you're able to add any kind of content to a few different webpages in your site and alter it simply by editing one text file. You'll be able to also add the output of distinctive scripts so the current time and date, the IP address of the website visitor or the attributes of a file show up on your site. This shall enable you to add some dynamic content to static webpages, making the site more desirable to your website visitors and giving it a far more professional visual appearance. It will be quicker to revise this content in comparison to editing every static web page one at a time. If you would like to use Server Side Includes in your website, the web pages that contain the content of any kind of file must be with extension .shtml.
Server Side Includes in Shared Hosting
You'll be able to use Server Side Includes with all of the shared hosting packages that we provide and activate it independently for each domain or subdomain within your hosting account. This can be achieved by utilizing an .htaccess file, which needs to be put into the folder where you wish to use SSI and you need to enter a few lines of code in that file. You can find the code within our Knowledgebase section, so you can simply copy it, since you do not need any programming skills to take advantage of all functions that our services incorporate. In case you have already built your website and you would like to use Server Side Includes later on, you must make sure that you rename the files from .html to .shtml and correct the links on the website, or else SSI will not work.