Skip to content

SEO cleanup: drop template blog, noindex tag pages, sitemap lastmod - #24

Merged
mfazekas merged 1 commit into
mainfrom
seo-cleanup
Oct 27, 2026
Merged

mfazekas merged 1 commit into
mainfrom
seo-cleanup

Conversation

@mfazekas

Copy link
Copy Markdown
Contributor

Follow-up to #19, #20 and #21 from the 2026-10-27 SEO audit.

  1. Removes the Docusaurus template blog (blog: false, blog/ deleted) and src/pages/markdown-page.md. Both were live, and every page linked /blog/rss.xml and /blog/atom.xml in <head>.
  2. Doc tag pages (/docs/tags, /docs/tags/*) get <meta name="robots" content="noindex, follow"> via wrapper swizzles of DocTagDocListPage/DocTagsListPage, and are left out of the sitemap.
  3. Sitemap lastmod: 'date' plus showLastUpdateTime: true. Both workflows now check out with fetch-depth: 0 so the git dates are real. Synced example/component pages get the date of the bot sync commit that last touched them.
  4. /docs/install and /docs/navigation/install had three h1s each; the sections are now ##.
  5. /docs/navigation/* pages use the | @rnmapbox/navigation title suffix (left off when the title already names the package) and the navigation social card, via a DocItem/Metadata wrapper.

Before/after, from the local build:

  • sitemap URLs: 300 → 165 (135 tag URLs removed)
  • <lastmod> entries: 0 → 165
  • /blog*, /markdown-page: built → not built (404 on docusaurus serve)
  • pages with RSS/Atom links in <head>: all → 0
  • tag pages with noindex: 0/135 → 135/135
  • canonicals: the same on every page
  • navigation og:image: overview only → all 35 navigation pages

I checked titles, og tags and robots on a local docusaurus serve, both on full page loads and after client-side navigation.

- Disable the blog and remove the Docusaurus template blog posts and
  markdown-page, which were live and linked RSS/Atom feeds from every page.
- Mark doc tag pages noindex and leave them out of the sitemap.
- Add lastmod to the sitemap and show last update times; check out full
  git history in CI so the dates are correct.
- Demote the extra h1s on the maps and navigation install pages.
- Navigation pages use the "| @rnmapbox/navigation" title suffix and the
  navigation social card.
@mfazekas
mfazekas merged commit 4696a51 into main Oct 27, 2026
1 check passed
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