canonical-header
하는 일
이 스킬은 페이지의 canonical 신호들이 서로 일치하는지 확인합니다. HTML과 HTTP 헤더 모두에 canonical 주소를 설정하는 사이트 운영자와 개발자를 위한 스킬입니다.
사용하는 경우
- ✓페이지가 HTML canonical 태그와 Link 헤더를 함께 보낼 때.
- ✓페이지와 서버 응답의 canonical 신호가 서로 다를 때.
- ✓검색에서 중복 콘텐츠 문제가 나타날 때.
스킬 링크
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/canonical-header/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제품 페이지의 canonical 태그와 Link 헤더를 비교해서 서로 맞춰 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 HTML canonical 태그와 HTTP Link 헤더를 비교하고, 둘 다 같은 canonical URL을 주도록 둘 중 하나를 고칩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Sync HTML canonical tags and Link headers
Conflicting canonical-url signals can lead search engines to ignore both declarations, potentially causing duplicate content issues and incorrect indexing.
Quick Reference
- Ensure the
rel="canonical"tag in your HTML matches theLinkcanonical-url header if both are used - Avoid sending conflicting signals to search engines about the primary version of a page
- Maintain consistency across all methods of declaring your canonical URL
Check
Compare the HTML canonical tag with the HTTP Link header to ensure they point to the exact same URL.
Fix
Update either the HTML tag or the HTTP header so that they provide a consistent canonical URL signal.
Explain
Explain the risks of sending conflicting technical SEO signals to search engine crawlers.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to Sync HTML canonical tags and Link headers. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/canonical-header
자주 묻는 질문
둘이 서로 다르면 무엇이 잘못되나요?
상충하는 신호 때문에 검색 엔진이 두 선언을 모두 무시할 수 있다고 스킬은 설명합니다.
둘 중 어느 것을 바꿔야 하나요?
어느 쪽이든 괜찮지만, 두 곳의 최종 canonical URL이 같아야 합니다.
이 작업은 어떤 문제를 막나요?
중복 콘텐츠 문제와 잘못된 색인을 막습니다.
상세 정보
작성자의 원본 설명
Use when auditing metadata, crawlability, structured data, or indexability related to Sync HTML canonical tags and Link headers. Verify the rendered HTML and HTTP response rather than relying only on source files.
인기도
- GitHub 스타
- 75k
- 순위
- #2766
- 라이선스
- MIT
- 업데이트
- 2026. 10. 31.
댓글
- …
이 저장소의 다른 스킬
frontendchecklist
75k명령줄 도구를 사용해 380개가 넘는 규칙으로 프런트엔드 코드와 실시간 페이지를 접근성, 속도, SEO, 보안 측면에서 점검합니다.
frontend-checklist-global
75kFront-End Checklist의 386개 규칙 전체로 프런트엔드 프로젝트를 감사하고, 발견한 문제마다 구체적인 해결 방법을 제시합니다.
404-page
75k없는 페이지 화면에 도움이 되는 링크가 있고 실제 404 상태 코드를 반환하는지 확인해, 길을 잃은 방문자를 돕습니다.
about-page
75k사이트를 운영하는 사람을 설명하는 명확한 소개 페이지가 있는지 검토해, 방문자와 검색 엔진의 신뢰를 높입니다.
비슷한 스킬
competitive-platform-analysis
280k경쟁사를 식별하고 분류하며 걸러내 더 깊은 분석을 하기 전에 경쟁 구도를 이해하도록 돕습니다.
competitive-report-structure
280k경쟁사 정보를 결합해 전체 시장 현황과 추천 사항을 보여 주는 종합 보고서를 만들고, 팀의 방향을 맞추도록 돕습니다.
lead-intelligence
280k중요한 사람을 찾고 연락하도록 에이전트를 돕습니다. 잠재 고객을 분석하고 접근 방법을 제안하며, 이메일과 소셜 미디어를 통한 연락을 관리합니다.