Server Side Includes (SSI) is a popular server-side scripting language, which is used to add the content of one file inside another file. It's employed mainly with online content and it will help make a static HTML website more dynamic. If you'd like to have a daily quote displayed on a variety of web pages within your site, as an example, you can create a text file and switch the quote in it every day. All pages where this file is integrated are going to show the updated quote, so you'll not have to change every one of them personally every time. SSI could also be used to include the output of simple functions rather than a static file - for instance, the viewer's IP address, a hit counter or maybe the present date and time. In this manner, you may make your site seem more professional and much more attractive to the website visitors. Pages that implement SSI use a .shtml extension.
Server Side Includes in Hosting
Since our customized cloud hosting system has Server Side Includes on a global level, you'll be able to work with this feature with all of the hosting
plans that we offer you and add dynamic content to your websites with a couple of clicks. SSI can be enabled for every individual domain name or subdomain by placing an .htaccess file in the site folder with only a few lines of code. Of course, you don't have to be a programmer for that as the necessary code can be copied from the Help post we have related to Server Side Includes. If you want to use this function for your site, you'll have to rename your site files from .html to .shtml plus you've got to double-check if all links on your site point to the current names.
Server Side Includes in Semi-dedicated Servers
Server Side Includes may be enabled without any difficulty with each and every semi-dedicated server
package that we provide you with and the full process shall take you only a minute and simply a couple of mouse clicks. You can enable SSI by creating an empty .htaccess file within a domain or subdomain root folder using the File Manager tool in your Hosting Control Panel or an FTP application of your preference, then adding a number of lines of code, which you will be able to copy from the SSI article inside our detailed Knowledgebase. The one thing left after that shall be to double-check if all of the pages that shall use Server Side Includes are renamed from .html to .shtml and also to edit the links to different web pages on your site, so as to reflect the modifications in the file extensions.