Skip to content

feat(seo): robots.txt 에 앱 sitemap 을 싣는다 - #92

Merged
minjun0219 merged 2 commits into
mainfrom
feat/robots-app-sitemaps
Oct 4, 2026
Merged

minjun0219 merged 2 commits into
mainfrom
feat/robots-app-sitemaps

Conversation

@minjun0219

@minjun0219 minjun0219 commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

mdwire(minjun0219/mdwire#107)와 ogpeek(minjun0219/ogpeek#51)이 minjun.kim/mdwire/·minjun.kim/ogpeek/ 로 옮겨 오면서 각자의 robots.txt 를 뺐습니다. 크롤러는 호스트 루트의 robots.txt 만 읽기 때문에, 두 앱의 sitemap 은 이 사이트 robots.txt 의 Sitemap: 줄로 알려야 합니다.

변경 사항

APP_SITEMAPS 상수

siteConfig.ts 의 APP_PATHS 옆에 앱 sitemap 목록(/mdwire/sitemap.xml, /ogpeek/sitemap.xml)을 두고, renderRobots() 가 이 목록을 Sitemap: 줄로 냅니다.

검증

  • pnpm check·typecheck·build 통과. dist/robots.txt 에 Sitemap: 줄 세 개가 나오는 것을 확인했습니다.
  • 두 sitemap URL 은 각 앱 PR 이 배포된 뒤에야 200 이 됩니다. 두 앱이 모두 배포된 다음에 머지하는 게 깔끔합니다. 먼저 머지해도 문제가 생기지는 않지만, Search Console 에 404 sitemap 오류가 표시됩니다.

🤖 Generated with Claude Code

minjun0219 and others added 2 commits October 4, 2026 09:34
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
minjun-kim f9e57a0 Oct 04 2026, 12:35 AM

@minjun0219 minjun0219 changed the title feat(seo): robots.txt 에 mdwire sitemap 을 싣는다 feat(seo): robots.txt 에 앱 sitemap 을 싣는다 Oct 4, 2026
@minjun0219
minjun0219 marked this pull request as ready for review October 4, 2026 00:49
@minjun0219
minjun0219 merged commit 4672f60 into main Oct 4, 2026
1 check passed
@minjun0219
minjun0219 deleted the feat/robots-app-sitemaps branch October 4, 2026 00:50
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