I made every ?lang=en page self-canonical. 90% of my impressions landed there
Two accurate logs, 81 duplicated paths, and 4,898 crawler fetches that made a site with 293 clicks look like it was being discovered.
Two logs on the same machine tell opposite stories about the same site.
The first counts search and AI crawlers by user-agent: as of November 29, 4,898 fetches across 133 distinct paths. Bingbot 1,262, claudebot 938, applebot 834, perplexitybot 709, oai-searchbot 552, yandex 467, gptbot 136. That reads like a site being discovered.
The second is a Search Console sync for prismicaudit.com: 255 URLs, 293 clicks, 14,442 impressions. One log is machines; the other is people. I spent the week trying to work out which one describes the site, and it came down to a decision I made months ago and never revisited: how the English version of a page is addressed.
The decision I would make again, and its bill
The site is bilingual. Rather than route English through /en/, English lives at ?lang=en, and each variant is its own canonical. Fetch /tools/ghost and the HTML arrives with lang="zh-CN" and a canonical pointing at itself; fetch /tools/ghost?lang=en and you get lang="en" and a canonical pointing at the parameterized URL.
I did that to keep the claim honest. The two URLs really do serve different documents. Declaring the parameterized URL canonical over the clean one would have been a small lie that made a dashboard look tidier.
The bill arrived in the index. Of 255 URLs in the sync, 130 are ?lang=en variants. Those variants carry 13,022 of 14,442 impressions and 249 of 293 clicks. Eighty-one paths exist in more than one variant at once. The language mechanism I chose for correctness is now the primary thing Google has indexed, and the clean URLs are the also-rans.
That is not something a redirect fixes without paying a different bill: collapsing 81 paths means re-canonicalizing pages that currently earn clicks, and the pages that earn clicks are not the ones I would have guessed.
Which pages earn, which pages merely exist
Click concentration is narrow. /tools/ghost?lang=en holds 38 clicks on 359 impressions at average position 8.8. /tools/vercel?lang=en holds 18 clicks on 413 impressions at 13.5. Then there is /tools/cms-checker?lang=en: 7,222 impressions, zero clicks, average position 73.3.
That row is half the site's entire impression count and no human has ever seen it. Position 73 is not a ranking; it is a number that appears when Google has the page and no reason to show it. Optimizing against impressions would have sent me at that URL for a week. The honest read is that 7,222 impressions there mean the query set is enormous and the page is irrelevant to it, and no on-page work moves a page from 73 to 10 without being a different page.
The crawler log shows the same shape. GPTBot made 136 fetches but touched only 18 paths — it found a narrow slice and re-read it. Claudebot covered 132 paths with 938 fetches. Same site, same week, two different pictures of what exists. Crawl volume describes the crawler's schedule; only crawl coverage describes my site.
What I changed, and what I left
Nothing structural. The temptation was to collapse the language variants to one canonical per path, watch duplicates drop from 81 toward zero, and call it a success. That optimizes the report, not the site — the duplicates are currently the URLs that get clicks, and a canonical sweep on a site with 293 clicks of history is a coin flip with real downside.
What I did instead was duller: I stopped treating the crawler log as a growth metric, and I now read both logs path by path before deciding a page works. Slice Lab, the template side of the same operation, gets judged the same way — not by whether bots fetched it, but by whether one specific path moved from position 40 to position 8 for one specific query.
The uncomfortable part is that both dashboards were accurate and my conclusion was wrong for two weeks, because I read each one alone. A page at position 73 is not a page in progress. A page fetched 136 times by a bot that knows 18 of your paths is not a page being discovered. And a canonical tag that tells the truth can still cost you your index.
Sumber artikel open-source oleh Cody Wang di DEV Community — Baca artikel asli. Topik:
#seo#analytics#webdev#nextjs

Komentar