If your content database already knows the topic, entity, audience, funnel stage, and URL for each page, you do not need a separate “related content” strategy. You need a recommendation system with rules.
That distinction matters because most related-content blocks fail in predictable ways. They rely on tags that were never designed for retrieval, they surface pages that are merely similar instead of actually useful, or they degrade into a popularity widget that ignores context. At scale, those failures create a system problem, not just a UX problem: weak recommendations flatten internal discovery, increase noise in templates, and make editorial maintenance harder than it should be.
A better approach is to treat recommendations as a query against your content database, filtered by relevance rules and scored by a small set of signals you trust.
Start with the data model, not the widget
The first question is not “What should the module show?” It is “What fields in the database can support a defensible recommendation?”
For each content record, you want enough structured data to answer three separate questions:
- What is this page about?
- Who is it for?
- Where does it fit in the site’s information architecture?
In practice, that often means a mix of:
- primary topic or topic cluster
- secondary topics
- entities mentioned or targeted
- content type
- funnel stage or use case
- audience segment
- language or region
- publication status and canonical URL
- performance signals such as clicks, conversions, or engagement, if you want them in the ranking layer
The point is not to collect every possible attribute. It is to separate the fields that define relevance from the fields that should only influence ordering.
That separation keeps the system maintainable. If a topic field changes, you can recalculate recommendations. If a popularity metric changes, you can re-rank results without redefining what “related” means.
If you are already building entity-aware page systems, the logic here overlaps with entity relationships for programmatic internal linking. The difference is that a recommendation block usually has a narrower goal: help a reader continue a session with a small set of highly relevant next pages.
Use similarity, but do not confuse similarity with usefulness
A content database can generate related recommendations in several ways.
The simplest is shared metadata. Pages in the same topic cluster are probably related. That works as a first pass, but only if the cluster is curated. If your clusters are too broad, the output becomes bland. If they are too narrow, you only recommend near-duplicates.
A stronger version is weighted similarity across multiple fields. For example:
- same primary topic: strong weight
- overlapping entities: medium weight
- same funnel stage: medium weight
- same audience: medium weight
- same content type: low or negative weight depending on the use case
That last point is worth pausing on. Sometimes the best related page is not another article of the same type. A guide may link to a template library, a comparison page, or a diagnostic article. If every recommendation uses the same surface-level similarity rule, the system may miss the more useful next step.
This is where judgment matters. “Related” is not a pure math problem. It is a product decision about what continuation you want to encourage.
For SEO teams, there is usually a second objective beyond user usefulness: discovery of deep pages. That means recommendations should not simply mirror the most obvious sibling pages. They should also expose adjacent pages that help search engines and users move through the site’s topical graph.
Build a candidate set before you score
Do not rank against the entire database if you can avoid it. That sounds flexible, but it usually produces noisy results and expensive queries.
Instead, define a candidate set with hard filters:
- same site or language
- published and indexable
- not the current page
- not noindex or canonicalized elsewhere
- not archived, expired, or otherwise suppressed
- optionally, same topic family or entity family
Once the candidate set is constrained, you can score it.
A useful pattern is to score in layers:
- Eligibility — can this page be recommended at all?
- Relevance — how closely does it match the current page’s context?
- Value — is it worth surfacing given traffic, conversion, freshness, or strategic priority?
- Diversity — does the set avoid near-duplicates?
The fourth layer is often overlooked. If your top five candidates all differ only by location, date, or minor phrasing, the block looks automated because it is automated. A simple diversity rule can improve the output more than a more complicated similarity model.
If your recommendation logic touches internal links across many page families, the same design principles apply as in programmatic internal linking with entity relationships: filter first, rank second, and make the rules understandable enough that someone can maintain them later.
Decide whether you want symmetric or directional recommendations
Some content systems treat related content as symmetric. Page A recommends Page B, and Page B recommends Page A if they score similarly. That is easy to implement, but it is not always the best editorial choice.
A directional model can work better.
For example:
- a beginner guide may recommend advanced implementation pages
- a product comparison page may recommend a setup guide
- a definition page may recommend a practical checklist
- a broad category page may recommend narrower subtopic pages
This creates a path, not just a cluster.
That matters because recommendation blocks often appear where the reader is making a decision about what to read next. Symmetric suggestions are safe, but directional suggestions can be more useful if your taxonomy supports them.
The tradeoff is maintenance. Directional rules require clearer content labels and more governance. If your team cannot reliably distinguish “intro,” “how-to,” “comparison,” and “diagnostic,” then directional logic will become brittle.
Make freshness and performance signals optional, not foundational
Teams often want to sort by clicks, conversions, or recency. Those signals can help, but they should not define relevance.
If you let top-performing pages dominate every recommendation block, you get a popularity loop. The same few URLs appear everywhere, while strategically important but less trafficked pages never get surfaced.
A better pattern is to use performance signals as tie-breakers or secondary boosts:
- boost pages that historically engage well for that content type
- prefer pages with stable indexation and healthy crawl behavior
- suppress stale or deprecated pages
- prefer pages that are updated and still aligned with the topic
That is similar to how many teams handle content maintenance more generally: not by chasing arbitrary freshness, but by responding to data changes and content changes when they matter. If that is relevant to your stack, scheduling updates based on data changes is the right adjacent system to study.
Keep the recommendation logic explainable
A recommendation system does not have to be simple, but it should be explainable.
If someone asks why page X was recommended on page Y, you should be able to answer in one sentence:
- same topic cluster and overlapping entity set
- same audience with complementary funnel stage
- same product area, but different use case
- same intent family with a different level of depth
That explanation is useful for QA, but it is also useful for content governance. When recommendations are explainable, editors can spot bad taxonomy faster. When they are not, bad data tends to hide inside the ranking layer.
Explainability also helps when the block performs poorly. If the module is showing irrelevant pages, the problem may not be ranking. It may be the labels, the cluster design, or the candidate filters.
Test the system on edge cases, not just clean examples
The most common failure mode is not obviously wrong output. It is plausible output that is slightly off.
Test pages that are:
- broad and top-of-funnel
- narrow and entity-specific
- multilingual or region-specific
- seasonal or time-sensitive
- high-traffic but thin
- low-traffic but strategically important
- part of overlapping topic clusters
These are the cases where database logic tends to break down.
You should also test for empty states. If a page has no good matches, the module should fail gracefully. That might mean no block at all, or a fallback to broader topic-navigation links. Do not force a weak recommendation just to populate the component.
A practical implementation pattern
A dependable system usually looks like this:
- Pull the current page’s structured fields.
- Filter the database to eligible content.
- Score candidates with weighted relevance rules.
- Apply a diversity check.
- Optionally boost or demote based on freshness, performance, or editorial priority.
- Store the output so the page renders consistently until the next recalculation.
- Recompute when source data, taxonomy, or publishing state changes.
That last step is where many teams get stuck. If recommendations are calculated once and never refreshed, they drift. If they are recalculated on every request, they become expensive and harder to debug.
The better answer is usually event-driven updates: recompute when the content record changes, when an entity relationship changes, or when a page is published. That keeps the module aligned with the source of truth without turning it into runtime overhead.
If your site already uses an event-driven publishing layer, the recommendation system should fit into that architecture rather than sit beside it. Related content is not a decorative feature; it is another derived output from the content database.
The more your team treats it that way, the easier it becomes to scale without hand-curating every module.