Skip to content

feat: #974 서버 catch-all에서 라우트별 canonical/noindex/404 주입 - #992

Draft
prgmr99 wants to merge 3 commits into
mainfrom
974-ops-seo-36-서버-catch-all로-라우트별-canonicalnoindex404-주입

Hidden character warning

The head ref may contain hidden characters: "974-ops-seo-36-\uc11c\ubc84-catch-all\ub85c-\ub77c\uc6b0\ud2b8\ubcc4-canonicalnoindex404-\uc8fc\uc785"
Draft

prgmr99 wants to merge 3 commits into
mainfrom
974-ops-seo-36-서버-catch-all로-라우트별-canonicalnoindex404-주입

Conversation

@prgmr99

@prgmr99 prgmr99 commented Oct 19, 2026

Copy link
Copy Markdown
Member

서버 catch-all에서 라우트별 canonical/noindex/404 주입


🏄🏼‍♂️‍ Summary (요약)

  • 서버가 요청 URL을 보고 canonical · noindex · 404 상태 코드를 응답에 주입하도록 합니다.
  • 지금은 어떤 URL을 요청해도 서버가 같은 답을 합니다. 없는 주소도, 로그인이 필요한 개인 페이지도 "200, 색인해도 됨, 원본은 홈"입니다.

🫨 Describe your Change (변경사항)

1. 변경 배경

SPA라서 서버에 HTML이 index.html 하나 뿐이고, 어떤 화면인지는 브라우저의 react router가 정합니다. bot은 서버 응답만 보고 판단하므로 아래처럼 읽힙니다.

요청 현재 응답 봇의 해석
/this-does-not-exist 200 · index, follow · canonical=홈 존재하는 페이지 (soft 404)
/myinfo 200 · index, follow · canonical=홈 색인 가능한 공개 페이지
/ 200 · index, follow · canonical=홈 정상

세 줄이 글자 하나 다르지 않습니다.
서버가 URL마다 다르게 답해야 하고, 그러려면 요청이 서버에 닿아야 하고, 서버가 경로를 판정할 줄 알아야 합니다.

🧐 Issue number and link (참고)

📚 Reference (참조)

@prgmr99 prgmr99 self-assigned this Oct 19, 2026
@prgmr99 prgmr99 added the 🧹 refactor 사용자에게는 드러나지 않는 코드 상의 변화 label Oct 19, 2026
@prgmr99 prgmr99 linked an issue Oct 19, 2026 that may be closed by this pull request
3 tasks
@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 1
  • Not Rabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c9066ecc-97b3-4037-b010-30f306e7e4e7

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@prgmr99 prgmr99 added the 🚧 still working 수정 중입니다. 아직 리뷰하지 말아주세요! label Oct 19, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧹 refactor 사용자에게는 드러나지 않는 코드 상의 변화 🚧 still working 수정 중입니다. 아직 리뷰하지 말아주세요!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Ops] SEO 3/6: 서버 catch-all로 라우트별 canonical/noindex/404 주입

1 participant