Server Side Includes (SSI) is a widely used server-side scripting language, which can be used to incorporate the content of one file within another file. It is used mainly with online content and it could make a static HTML website more dynamic. If you want to have a daily quote displayed on multiple web pages on your website, as an example, you can create a text file and switch the quote in it every single day. All pages in which this file is included are going to show the updated quote, so you will not need to update them personally every single time. SSI can also be used to contain the output of basic functions as opposed to a static file - for example, the viewer's IP address, a hit counter or perhaps the current time and date. By doing this, you can make your website appear much more professional and a lot more appealing to the site visitors. Pages that use SSI use a .shtml extension.
Server Side Includes in Website Hosting
All the Linux website hosting packages
we offer support Server Side Includes, so that you can incorporate dynamic components to any static site that you host on our cloud platform. By setting up an empty .htaccess file and entering several lines of code in it, you're able to enable SSI for a domain or perhaps a subdomain. The file in question should be in the specific folder where you will use SSI and you will see the code within our Frequently Asked Questions section, and that means you don't need any kind of coding experience. The 24/7 technical support team will also be able to assist you with activating Server Side Includes if you aren't sure how to proceed. You should also make sure to change the extension of all files that will utilize SSI from .html to .shtml and ensure that the links on your website point to the right files.
Server Side Includes in Semi-dedicated Hosting
It won't take you over a minute to enable Server Side Includes when you've got a semi-dedicated server
package through our company. When you choose to activate this function, you have to make an .htaccess file in the main folder for the domain name or subdomain where you need SSI to be active. In this file, you have to copy and paste some code, which you can see in the FAQ article we have dedicated to SSI. You can get the latter within the Help area of your Hosting Control Panel, so you do not need any prior knowledge of these types of things. The only two things you must deal with are renaming all pages that will use Server Side Includes from .html to .shtml and editing all of the links in your website, so they point to the updated files.