Server Side Includes (SSI) is a basic server-side language, which enables you to incorporate text from a specified source in a web page. In the most widespread case, the text from a single file is incorporated in a second one, giving a site the feeling that it is dynamic. As an example, in case your site is made of 10 web pages, five of them can contain the content of any kind of file, like horoscope.txt. If you ever change this text file, the updated content will come up on all five pages, which shall permit you to update your website faster and easier than if you had to modify a part of all 5 web pages. Server Side Includes is at times employed to incorporate the output of simple commands, scripts or functions as well - a hit counter that's shown on the site, the current time and date or the visitor's IP address. Every webpage that works by using SSI must have a special extension - .shtml.
Server Side Includes in Cloud Hosting
All the cloud service we offer support Server Side Includes, so you can incorporate dynamic elements 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 perhaps a subdomain. The file in question needs to be inside the exact folder where you are going to use SSI and you'll get the code inside our Frequently Asked Questions section, so you do not need any coding experience. Our 24/7 technical support team will also be in a position to assist you with activating Server Side Includes if you aren't confident what to do. You should furthermore make sure to change the extension of all files which will make use of SSI from .html to .shtml and make sure that the links on your site point to the proper files.
Server Side Includes in Semi-dedicated Servers
It shall not take you over a minute to enable Server Side Includes when you've got a semi-dedicated server package through our company. When you decide to activate this feature, you need to create an .htaccess file in the main folder for the domain or subdomain where you would like SSI to be active. In that file, you need to copy some code, which you'll get in the FAQ article we have dedicated to SSI. You can find the latter inside the Help section of your Hosting Control Panel, so you don't require any prior knowledge about these types of things. The only two things you must take care of are renaming all of the pages that shall utilize Server Side Includes from .html to .shtml and changing every one of the links on your site, so they point to the renamed files.