fix(sitemap): add lastmod, prioritize people pages, drop low-value URLs#1206
Merged
Conversation
✅ Deploy Preview for dreamy-golick-5f201e ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
🔎 Structured data validation
✅ All checks pass and no authoring warnings to backfill. ⚙️ Generated by |
- Enable lastmod (was off by default) so search engines get the freshness signal that actually drives crawl/discovery of new pages. - Emit accurate lastmod for the synthesized /people/ routes (no source file) by attaching each profile's most recent blog post / meeting date as route metadata; the /people/ index uses its latest active profile. - Drop /docs/0.82/* from the sitemap — they are Disallow'd in robots.txt, so listing them is a contradictory signal Search Console flags. - Drop blog & community pagination and tag archives — thin, paginated, near-duplicate listing pages with no standalone ranking value. /people/ (0.8) and the 15 maintainer profiles (0.7) remain in the sitemap with accurate lastmod dates. Sitemap: 681 -> 525 URLs. Signed-off-by: Liam Randall <liam@cosmonic.com>
46fda3f to
5caac98
Compare
ericgregory
approved these changes
Jun 23, 2026
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.
Summary
Sitemap optimization centered on the new
/people/pages, plus best-practice cleanup found while auditing the generatedsitemap.xml.lastmod(Docusaurus defaults it tonull, so it was absent on all 681 URLs). This is the freshness signal search engines actually act on for crawl scheduling and discovery of new pages — far more impactful thanpriority/changefreq.lastmodfor/people/routes. These are synthesized viaaddRoute()with no source file, so the sitemap plugin can't derive a date. Thepeople-pagesplugin now attachesmetadata.lastUpdatedAt= each profile's most recent blog post / meeting date; the/people/index uses its latest active profile./docs/0.82/*— they'reDisallow'd inrobots.txt, so listing them in the sitemap is a contradictory signal Search Console flags (99 URLs)./people/(priority 0.8) and all 15 maintainer profiles (0.7) remain in the sitemap, now with accuratelastmoddates.Result
lastmod/docs/0.82/*(robots-blocked)/docs/v1/*(kept — still in use)/people/*The 11 remaining URLs without
lastmodare the blog/community index pages and 9 auto-generated/docs/v1/category/*index pages — no source file to date from, all real indexable pages, so expected.Notes / context
/people/was already in the sitemap on this branch; the real gaps were the missinglastmodand the robots-blocked + thin pages.VideoObject/ImageObjectJSON-LD (91 pages), which is the interchangeable alternative.Verification
npm run buildpasses (exit 0, SEO post-build checks included) after each change.build/sitemap.xmlinspected: counts above confirmed, 0noindexpages leak into the sitemap.Follow-up (operational, not in this PR)
sitemap.xmlin Google Search Console + Bing Webmaster Tools./people/<slug>/pages and request indexing.