Repository navigation
fix(seo): keep thin reference and empty topic pages out of the index - #64
Merged
Merged
Conversation
Search Console (Nov 19) shows 34 pages crawled or discovered but not indexed, and 50 of the 105 sitemap URLs were reference hubs with about 40 visible words: a catalog blurb plus a citing post's card. - Reference hubs count as having the Lyovsons' own words only when they show an activity note or written review. A citing post shows only its card there, and the post page is the one that should rank. - Topics without published posts are noindex and leave the sitemap. - The author layout's Suspense fallback rendered the page as well, so every author page's HTML held its content twice (two H1s, every card doubled for crawlers). The fallback is now the profile skeleton only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Search Console (export, Nov 19): 88 pages indexed, 80 not, of which 16 are "Crawled – currently not indexed" and 18 "Discovered – currently not indexed". A crawl of the live sitemap found 50 of 105 URLs were reference hubs with a median of 41 visible words (a catalog blurb plus a citing post's card) and 13 topic pages with a median of 38 (
/topics/sportand/topics/poetryempty). Google has sent no clicks to any of them; all search clicks land on posts.Causes and fixes
hubHasOwnWordscounted a citing post as the Lyovsons' own words, but the hub shows only that post's card. Now only an activity note or written review counts. The page robots tag and the sitemap share this one predicate.noindex, followand dropped from the sitemap.[lyovson]layout's Suspense fallback rendered{children}as well as the skeleton, so each author page's HTML held its content twice: two H1s, and every card and JSON-LD block doubled (e.g./rafa358 KB). The fallback is now<ProfileSkeleton />only.Checks
tsc --noEmit,pnpm lint,pnpm test,pnpm seo:check: pass.pnpm preview:experience:build) against a Neon dev branch copied from production today, crawl-diffed against production with the visual-review scripts:noindex, follow; hubs with notes (e.g./references/siddhartha) stayindex, follow./rafaheadings go from 29 to 15 and JSON-LD blocks from 3 to 2, with exactly the duplicates removed and nothing added. The same holds on every/rafa/*and/jess/*page./rafaand/jess/posts(desktop and phone, light and dark) match production, except blob images, which the local preview rejects ("url" parameter is not allowed) on every page.mainbuilt and served the same way, at the same lines:public-navigation.spec.ts:113/115,:27).playwright.config.tshardcodesoutputDir: /private/tmp/...(a macOS path); on Linux I ran with--output.Review
Independent
revieweragent (Opus) on06e4ecf..c49a910: no findings. It confirmed:getTopicPostsentry;notFoundhandling and client navigation unchanged.REVIEW: PASS c49a910
🤖 Generated with Claude Code