Skip to content

fix(site): keep noindex docs versions out of the sitemap - #197

Merged
JustMaris merged 1 commit into
mainfrom
fix/sitemap-skip-noindex-docs
Oct 17, 2026
Merged

JustMaris merged 1 commit into
mainfrom
fix/sitemap-skip-noindex-docs

Conversation

@JustMaris

Copy link
Copy Markdown
Member

Only the latest docs version is indexable; every other version is noindex but was listed in sitemap.xml (40 docs URLs, 35 of them noindex), which is a mixed signal to search engines. Non-latest versions and the /docs/ index now set sitemap.disable in their front matter. Built locally: sitemap goes from 117 to 83 URLs, docs entries from 40 to the 6 latest-version pages.

@JustMaris
JustMaris merged commit 8a8cb2f into main Oct 17, 2026
16 checks passed
@JustMaris
JustMaris deleted the fix/sitemap-skip-noindex-docs branch October 17, 2026 19:39
@dnb-robot dnb-robot Bot mentioned this pull request Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant