Skip to content

fix: sitemap/llms-txt recursive crawling + Next.js contentDir + OG image#12

Merged
rubenmarcus merged 1 commit intomainfrom
fix/sitemap-recursive-public-dirs
Mar 16, 2026
Merged

fix: sitemap/llms-txt recursive crawling + Next.js contentDir + OG image#12
rubenmarcus merged 1 commit intomainfrom
fix/sitemap-recursive-public-dirs

Conversation

@rubenmarcus
Copy link
Copy Markdown
Member

Changes

Bug Fixes

  • Core: Exclude public/, dist/, .next/, .nuxt/, .output/, .open-next/ from sitemap and llms-txt file crawlers — prevents junk URLs like /public/public/.../README
  • Next.js plugin: contentDir no longer falls back to project root. Tries content/, docs/, src/ before safe default

New

  • OG image: Added social sharing image for aeojs.org website (website/public/og.png)

Context

Discovered on check.aeojs.org where the sitemap had 30+ broken recursive URLs and zero real pages.

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
aeo-js Ready Ready Preview, Comment Mar 16, 2026 0:54am

Request Review

@github-actions
Copy link
Copy Markdown

Docs Preview

Preview URL: https://fix-sitemap-recursive-public.aeojs.pages.dev

This preview was deployed from the latest commit on this PR.

… & OG image

- Exclude public/, dist/, .next/, .nuxt/ etc from sitemap and llms-txt crawlers
- Next.js contentDir no longer falls back to project root
- Added OG social sharing image for aeojs.org

Amp-Thread-ID: https://ampcode.com/threads/T-019ce8b2-11cf-7124-bb47-e6d2cfebdc7a
Co-authored-by: Amp <amp@ampcode.com>
@rubenmarcus rubenmarcus force-pushed the fix/sitemap-recursive-public-dirs branch from 8fe46b4 to e2b149e Compare March 16, 2026 12:54
@rubenmarcus rubenmarcus merged commit d794a4b into main Mar 16, 2026
4 checks 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