Sub topic 3
Relevance: matching a page to a query
This chapter assumes you know how crawling, indexing, and serving fit together, and that Google tries to work out what a searcher wants before it ranks anything. Here we look at the next step: how Google decides which indexed pages match a query.
What relevance means
Relevance is how well a page's content matches the intent behind a query. It is the first filter. A page that is not relevant to the query will not rank well, however good it is in other ways.
Relevance is separate from quality and usefulness. A short example shows the difference. For the query "repot snake plant":
- A page about repotting snake plants is relevant.
- A page about watering orchids is not relevant, even if it is excellent.
- A relevant page full of errors is relevant but low quality.
Later chapters cover quality and usefulness. For now, treat relevance as "is this page about what the searcher asked for?"
Signals Google uses to judge relevance
Google does not publish a formula. Its documentation does describe the kinds of signals involved.
- Keywords in the content. The most basic check is whether the words from the query appear on the page. Words in titles, headings, and body text all count.
- Meaning, not just matching words. Google's systems also recognize synonyms and related concepts. A page about "fixing a leaky tap" can match a search for "repair a dripping faucet".
- Search intent. A query can be informational ("how to repot a snake plant"), navigational ("example garden login"), or transactional ("buy snake plant pot"). A page must fit the intent, not only the words.
- Aggregated interaction data. Google says it uses anonymized interaction data to check whether its relevance judgments work for searchers in general.
The diagram below shows how a query narrows the index to a ranked list.
Making relevance clear on your page
You help Google match your page by stating its topic plainly in the places Google reads first. A descriptive title, a meta description, and a canonical link do this.
<head>
<title>How to Repot a Snake Plant | Example Garden</title>
<meta name="description" content="Step-by-step instructions for repotting a snake plant, including soil, pot size, and timing.">
<link rel="canonical" href="https://www.example.com/repot-snake-plant">
</head>- The
<title>names the topic in the words a searcher would use. Google may rewrite it in results, but it remains a strong hint. - The meta description summarizes the page. Google may use it as the snippet, though it often writes its own from the page text.
- The canonical link names the preferred URL when several URLs show the same content. This keeps relevance signals from being split across duplicates.
Beyond the <head>, use headings that reflect real sub-topics, and write in the natural words your audience uses.
Common errors
- Keyword stuffing. Repeating a phrase unnaturally does not make a page more relevant. Google's spam policies treat it as a violation, covered in a later chapter.
- Matching words but not intent. A page that mentions "snake plant" ten times but sells unrelated products matches the words and misses the need.
- Vague titles. Titles such as "Home" or "Untitled" give Google little to work with.
- Content hidden in images. Text that exists only inside an image is harder for Google to read. Put important words in HTML text.
- Treating relevance as the whole job. Many pages are relevant to a query. Quality, links, and context decide the order among them.
Check your understanding
Exercise
A searcher types "how to fix a dripping faucet". Page A is a well-written guide titled "Repairing a Leaky Tap". Page B repeats "dripping faucet" 40 times in a list of unrelated plumbing products. Which page is more relevant, and why?
Show answer
Page A. Google recognizes that "leaky tap" and "dripping faucet" mean the same thing, and the guide fits the searcher's intent to learn how to fix the problem. Page B matches the words but not the intent, and the repetition looks like keyword stuffing.
Exercise
Name two places in a page's HTML where you can state its topic clearly, and say what the canonical link adds to relevance.
Show answer
The title element and the meta description (headings also work). The canonical link tells Google which URL is preferred when duplicates exist, so relevance signals are not split across several URLs.