Server Side Includes (SSI) is a widely used server-side scripting language, which is often used to include the content of one file within another file. It is employed typically with online content and it can make a static HTML website more dynamic. If you wish to have a daily quote shown on various webpages within your site, for example, you can create a text file and replace the quote within it each day. All pages in which this file is included will display the updated quote, so you'll not have to modify them manually every single time. SSI could also be used to contain the output of basic functions rather than a static file - for example, the viewer's IP address, a hit counter or perhaps the current time and date. This way, you can make your site appear much more professional and much more appealing to the site visitors. Web pages that use SSI use a .shtml extension.
Server Side Includes in Shared Web Hosting
It will be possible to use Server Side Includes with all shared web hosting packages that we provide and activate it separately for every domain name or subdomain in your hosting account. This can be accomplished by utilizing an .htaccess file, which should be positiioned in the folder where you wish to use SSI and you need to enter a couple of lines of code in that file. You can find the code inside our Knowledgebase area, so you're able to simply just copy it, as you do not need any programming expertise to take advantage of all features that our solutions have. In case you have currently built your site and you want to employ Server Side Includes afterwards, you must make sure that you rename the files from .html to .shtml and correct the links on the website, or else SSI is not going to work.
Server Side Includes in Semi-dedicated Hosting
Server Side Includes can be activated without difficulty with every single semi-dedicated server plan that our company offers and the whole process will take you just one minute and just a couple of clicks. You can activate SSI by creating an empty .htaccess file within a domain or subdomain main folder using the File Manager tool in your Hosting Control Panel or perhaps an FTP app of your preference, then typing in a few lines of code, which you'll be capable to get from the SSI article inside our complete Knowledgebase. The one thing left after that will be to double-check if all webpages that will make use of Server Side Includes are renamed from .html to .shtml and also to update the links to different webpages on your website, so as to represent the modifications in the file extensions.