Server Side Includes (SSI) is a popular server-side scripting language, that is employed to include the content of one file within a second file. It is utilized principally with online content and it will help make a static HTML site more dynamic. If you need to have a daily quote shown on several web pages of your website, for instance, you can create a text file and replace the quote in it each day. All the webpages in which this file is included are going to display the modified quote, so you'll not need to alter every one of them personally each time. SSI could also be used to incorporate the output of basic functions as opposed to a static file - for example, the viewer's IP address, a hit counter or maybe the current date and time. By doing this, you can make your site seem more professional and a lot more appealing to the website visitors. Web pages that employ SSI have a .shtml extension.
Server Side Includes in Shared Web Hosting
All the shared web hosting
that we offer support Server Side Includes, so you can bring in dynamic components to your static website that you host on our cloud platform. By creating a clear .htaccess file and typing in a couple of lines of code in it, you are able to activate SSI for a domain or maybe a subdomain. The file in question must be within the exact folder where you will make use of SSI and you will find the code within our Frequently Asked Questions section, so you do not need any kind of coding expertise. The 24/7 tech support team shall also be capable to help you with activating Server Side Includes if you aren't absolutely sure how to proceed. You should additionally remember to modify the extension of all files that are going to make use of SSI from .html to .shtml and make certain that the links on your website lead to the proper files.
Server Side Includes in Semi-dedicated Servers
It shall not take you more than a minute to enable Server Side Includes when you have a semi-dedicated server
plan through our company. When you decide to enable this feature, you need to create an .htaccess file in the root folder for the domain name or subdomain in which you want SSI to be enabled. In this file, you need to copy and paste some code, that you can get in the FAQ article we have dedicated to SSI. You'll find the latter within the Help section of your Hosting Control Panel, so you don't need any prior knowledge of this kind of things. The only 2 things you ought to take care of are renaming all of pages that will utilize Server Side Includes from .html to .shtml and updating all of the links on your site, in order that they lead to the renamed files.