Server Side Includes (SSI) is a simple server-side language, which allows you to incorporate text from a given source inside a website. In the most typical case, the text from a single file is incorporated in another, providing a site the sense that it's dynamic. As an example, if your site includes 10 webpages, 5 of them can easily include the content of any kind of file, such as horoscope.txt. In case you alter this text file, the new content will appear on all five webpages, which shall allow you to revise your website faster and easier than if you had to update a component of all 5 pages. Server Side Includes is occasionally used to include the output of simple commands, scripts or functions as well - a hit counter that is displayed on the website, the current time and date or the customer's IP address. Every webpage that utilizes SSI will need to have a particular extension - .shtml.
Server Side Includes in Web Hosting
Since our customized cloud hosting platform has Server Side Includes on a global level, you are able to implement this function with any of the web hosting plans we feature and incorporate dynamic content to your sites with a few mouse clicks. SSI is activated for each specific domain or subdomain by placing an .htaccess file in the site folder with just a few lines of code. Certainly, you don't have to be a developer for that since the needed code may be copied from the Help article we have regarding Server Side Includes. If you would like to use this function for your site, you need to rename your website files from .html to .shtml and you have to double-check if all of the links on your website lead to the up-to-date names.
Server Side Includes in Semi-dedicated Servers
Server Side Includes could be activated without difficulty with each semi-dedicated server plan that we offer and the full process will take you only a minute and only a number of mouse clicks. You can activate SSI by creating an empty .htaccess file within a domain or subdomain root folder with the File Manager tool in the Hosting Control Panel or an FTP app of your choosing, then adding a number of lines of code, that you will be able to get from the SSI article inside our detailed Knowledgebase. The only thing left following that will be to double-check if all of the pages that will implement Server Side Includes are renamed from .html to .shtml and to change backlinks to different pages on your website, to represent the modifications in the file extensions.