We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.

What is Server Side Includes?

By Vanessa Harvey
Updated May 16, 2024
Our promise to you
EasyTechJunkie is dedicated to creating trustworthy, high-quality content that always prioritizes transparency, integrity, and inclusivity above all else. Our ensure that our content creation and review process includes rigorous fact-checking, evidence-based, and continual updates to ensure accuracy and reliability.

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

Editorial Standards

At EasyTechJunkie, we are committed to creating content that you can trust. Our editorial process is designed to ensure that every piece of content we publish is accurate, reliable, and informative.

Our team of experienced writers and editors follows a strict set of guidelines to ensure the highest quality content. We conduct thorough research, fact-check all information, and rely on credible sources to back up our claims. Our content is reviewed by subject-matter experts to ensure accuracy and clarity.

We believe in transparency and maintain editorial independence from our advertisers. Our team does not receive direct compensation from advertisers, allowing us to create unbiased content that prioritizes your interests.

Server side includes (SSI), sometimes referred to as edge side includes, is a technology frequently used by web developers that consists of writing instructions regarding procedures that should take place during the serving of a web page. A web page is served by a server computer when a client computer requests its world wide web address. These directives are included or coded directly within extensible hypertext markup language (XHTML) documents to allow a static page to contain dynamically generated content without having to serve the entire page using scripting languages such as hypertext preprocessor (PHP).

The choice to use the technology of server side includes is often made by web developers when only a small portion of an XHTML document needs to be dynamically generated. For example, the current local time might need to be displayed on a static page. Although this can easily be achieved in a few lines of code written in any number of the available scripting languages, server side includes is frequently used for such purposes. Web pages composed almost entirely of dynamically generated content do not make use of server side includes; web developers instead opt for the coding of scripts in server-side scripting languages.

There are some advantages to using server side includes technology over that of scripting languages such as less code and a lighter load placed on the serving computer. Solutions for dynamically generating content across an entire web site, however, might involve the use of server side includes and scripting languages because the choice of which to use is determined by how much of each page of the site is static and how much is dynamic. Most web host companies offer their clients the option of using server side includes technology for their web pages.

Implementation of server side includes usually is a simple task, particularly for experienced web designers and developers. It typically consists of creating a .htaccess file to which code is added and then adding code to the XHTML pages in which this technology is to be used. The specific code added is determined by the exact dynamic content that needs to be generated in specific portions of the otherwise static page. Web files that make use of this technology must carry the file extension specified by the web host company, which is usually ".shtml" or "shtm," in order to work. Failure to edit the file extension of a document to use the technology is a common mistake, especially among inexperienced web designers and developers.

EasyTechJunkie is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Discussion Comments
EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.

EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.