Server Side Includes (SSI) is a popular server-side scripting language, which is often used to incorporate the content of one file inside of a second file. It's used principally with online content and it can make a static HTML site far more dynamic. If you need to have a daily quote shown on a variety of webpages of your website, for example, you can create a text file and switch the quote within it daily. All of the pages where this file is integrated are going to display the modified quote, so you'll not have to edit all of them personally every time. SSI may also be used to include 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. In this way, you can make your website appear much more professional and much more appealing to the site visitors. Pages that use SSI have a .shtml extension.
Server Side Includes in Shared Web Hosting
All of the shared web hosting plans we provide support Server Side Includes, so you're able to include dynamic components to any static site that you host on our cloud platform. By setting up an empty .htaccess file and entering a couple of lines of code inside, you're able to enable SSI for a domain or a subdomain. The file concerned needs to be within the specific folder where you will use SSI and you'll find the code in our Frequently Asked Questions section, which means you don't need any coding practical experience. The 24/7 tech support crew shall also be capable to help you with enabling Server Side Includes if you aren't certain how to proceed. You should furthermore make sure to change the extension of all your files which will utilize SSI from .html to .shtml and ensure that the links on your site point to the proper files.