How to Fix Pages Missing Their Top Google Query in Title or H1
This check flags pages where the query Google already shows them for most often (at least 20 impressions) doesn't appear in the page's title tag or main H1. By the end of this guide you'll have a keyword map that gives every page one primary keyword and a few secondary terms. Your titles and H1s will be updated to match, and you'll have confirmed the change in Search Console.

Why it matters
Google picks the queries a page is shown for, but the title tag and H1 are still the clearest signals of what the page is about. When the top query is missing from both, the snippet looks less relevant, so click-through rate drops. Google may also rewrite your title or rank a different page of yours instead.
AI answer engines likewise lean on titles and headings to decide which page answers a question. Aligning them with real demand tends to lift CTR and consolidate rankings on the page you actually want to rank.
What you need
Step-by-step fix
Export query and page data from Search Console
In Search Console, open Performance > Search results and set the date range to the last 3 months. For a single page, open the Pages tab, click the URL to filter by it, then switch to the Queries tab and sort by Impressions. For the whole site, use the Search Analytics API (or the Looker Studio Search Console connector) with both page and query as dimensions.
The UI export can't combine both dimensions.
POST https://www.googleapis.com/webmasters/v3/sites/https%3A%2F%2Fwww.example.com%2F/searchAnalytics/query
{
"startDate": "2026-01-01",
"endDate": "2026-03-31",
"dimensions": ["page", "query"],
"type": "web",
"rowLimit": 25000
}Find each page's top query and flag the misses
In your spreadsheet, keep only the query with the highest impressions for each page. Ignore pages where that query has fewer than 20 impressions. Then add each page's current title and first H1, taken from a crawler export or the snippet below.
Flag any page where no meaningful word of the top query appears in either the title or the H1. Stop words like "the" or "for" don't count as meaningful.
// Run in the browser console on the page you are checking
const query = 'blocked drain repair';
const text = (document.title + ' ' + (document.querySelector('h1')?.textContent || '')).toLowerCase();
console.table(query.toLowerCase().split(/\s+/).filter(w => w.length > 2).map(w => ({ word: w, inTitleOrH1: text.includes(w) })));Decide the primary keyword for each flagged page
The top query isn't automatically the right target, so sort each flagged page into one of three cases:
- Query matches the page's purpose: make it (or a close variant) the primary keyword.
- Query belongs to another page you own: keep this page's own target, and strengthen the other page with internal links so Google shifts the query there.
- Query is a brand or navigational term: include the brand naturally in the title, which is usually enough.
Record one primary keyword per page and make sure no two pages share it.
URL,Primary keyword,Secondary terms,Top GSC query,Impressions,Action /services/drain-cleaning/,blocked drain repair,drain unblocking; drain cleaning leeds; emergency drain service,blocked drain repair,1400,Rewrite title + H1 /blog/why-drains-smell/,why does my drain smell,sewer smell sink; smelly drain fix,drain smell,310,Rewrite H1
Rewrite the title tag around the primary keyword
Put the primary keyword near the start of the title, add a qualifier (location, product type or benefit), and end with the brand. Keep it to roughly 50-60 characters so it isn't truncated. Use the exact phrase where it reads naturally; a plural or reordered version is fine if the exact phrase is awkward.
<title>Blocked Drain Repair & Drain Cleaning in Leeds | Example Co</title>
Align the H1 with the same intent
Make the page's single visible H1 contain the primary keyword. It doesn't have to copy the title word for word: the title is written to win the click, while the H1 confirms to the visitor they're in the right place. Check that the page has exactly one H1 and that it sits above the main content.
<h1>Blocked Drain Repair in Leeds</h1>
Work secondary terms into headings and copy
Use the secondary terms from your keyword map in H2s, the opening paragraph and image alt text where they describe the content accurately. If a secondary term needs its own section of content to answer properly, add that section. This helps the page rank for the related queries without turning it into a keyword list.
<h2>Emergency drain unblocking, 24/7</h2> <p>Example Co clears blocked drains across Leeds, usually within two hours of your call.</p>
Request recrawling and confirm the result
Paste each updated URL into URL Inspection in Search Console, run Test live URL to confirm the new title and H1 render, then click Request indexing. After 2-4 weeks, go to Performance > Search results, filter by the page, and use Compare on the date range to compare clicks, CTR and average position before and after the edit. Then re-run the audit.
Platform-specific notes
WordPress
With Yoast or Rank Math, set the title in the plugin's SEO title field in the post editor sidebar or meta box. The H1 is normally the post or page title, so edit the main title field. Some page builders (Elementor, Divi) hide the theme title. In that case, check that a Heading widget is set to H1.
Shopify
For products, collections and pages, scroll to **Search engine listing** and click **Edit** to set the Page title. The H1 is the product, collection or page title itself. Set the homepage title in **Online Store > Preferences**. If your theme renders the logo as an H1 on every page, fix it in the theme's header section file.
Wix
Open the page's settings in the editor and go to **SEO basics** to set the Title tag. Set the H1 by formatting the main heading text as **Heading 1** in the text settings. For dynamic pages, map the title to a CMS field in the dynamic page's SEO settings.
Webflow
Set static page titles in **Page settings > SEO Settings > Title Tag**. For CMS template pages, insert a collection field (for example a dedicated 'SEO Title' field) into the template's Title Tag. The H1 must be an actual Heading element set to H1 in the template.
Next.js
In the App Router, set titles via `export const metadata = { title: '...' }` or `generateMetadata()` for dynamic routes. Render the H1 in the page component. Make sure both are server-rendered so the HTML Google fetches contains them.
Check that it worked
✅ How to verify
- View source or run URL Inspection's **Test live URL** and confirm the primary keyword appears in the `<title>` and in the single H1.
- Run the browser console snippet from step 2 on each updated page and confirm every key word of the top query shows `true`.
- After 2-4 weeks, compare the page's CTR and position for its top query in **Performance > Search results** against the period before the edit.
- Re-run the audit and confirm the number of flagged pages has dropped.
⚠️ Common mistakes
- Inserting the top query when it belongs to a different page you own, which deepens cannibalization instead of fixing it.
- Updating only the SEO title but leaving a generic H1 like "Welcome" or "Our Services".
- Assigning the same primary keyword to several pages, such as a category page and a blog post.
- Stuffing the title with every query from Search Console, which Google often rewrites and users skip.
Is this still an issue on your site? Run a free audit — ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.
Check my site freeFAQ
How many keywords should one page target?
One primary keyword plus about 2-5 closely related secondary terms that share the same search intent. If two terms need different answers, they belong on different pages.
Does the keyword have to be an exact match in the title?
No. Google understands plurals, word order and close variants. Still, including the main words of the query, ideally as a natural phrase, makes relevance obvious to both search engines and users.
What if a page's top query is irrelevant to it?
Decide which page should own that query. If another page fits better, link to it with descriptive anchor text and keep this page focused on its own target. If no page fits and the demand is worthwhile, create a dedicated page.
How long until changes to titles and H1s show results?
Google usually recrawls an edited page within days, faster if you request indexing. Changes in CTR and rankings typically become measurable after 2-4 weeks of data.
How to Fix Content Gaps: Rank for Topics You're Missing
How to Build a Pillar and Cluster Content Structure
How to Fix Outdated Statistics, Years and Prices on Your Site
How to Fix Thin Service and Product Pages (Under 500 Words)
How to Fix Low Multimedia Richness on Content Pages
How to Fix Missing Cited Sources and Statistics in Articles