本文へスキップ
Skillpedia
SEO対策75k · #2765

canonical-chain

できること

このスキルは、ページのcanonicalのアドレスが、別のリダイレクトに導いていないかを確認します。検索エンジンが各ページの正しいバージョンを索引するようにしたいサイトの運営者向けです。

使う場面

  • ✓canonicalのタグが、リダイレクトするアドレスを指しているとき。
  • ✓サイトがURLを移動し、古いcanonicalのタグが更新されていないとき。
  • ✓検索エンジンがページの誤ったバージョンを索引しているとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/canonical-chain/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/canonical-chain/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のブログのページのcanonicalリンクが、リダイレクトなしで直接読み込まれるアドレスを指しているか確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは各ページのcanonicalのアドレスにリダイレクトがないか確認し、通常のページを返す最終的なアドレスを指すようcanonicalのタグを更新します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Avoid redirect chains on canonical URLs

Canonical chains confuse search engines and can result in the wrong version of a page being indexed, while also adding unnecessary latency for crawlers.

Quick Reference

  • Ensure that the URL in your rel="canonical" tag returns a 200 OK status
  • Never point a canonical tag to a URL that then redirects to another location
  • Verify that the canonical URL is the final, intended version of the content

Check

Verify that the canonical URL of the page does not result in any redirects.

Fix

Update the <link rel="canonical"> tag to point directly to the final, non-redirecting URL.

Explain

Explain why pointing a canonical tag to a redirecting URL weakens the canonical-url signal and impacts SEO.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Avoid redirect chains on canonical URLs. 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-chain

よくある質問

canonicalのリダイレクトの連鎖は、なぜ重要ですか?

canonicalのシグナルを弱め、同じページの誤ったバージョンが索引されるおそれがあると、このスキルは説明しています。

canonicalのURLはどのステータスを返すべきですか?

200 OKを返すべきだと、このスキルは説明しています。

リダイレクトはクローラーを遅くしますか?

はい。リダイレクトの連鎖は、クローラーにとって不要な遅延を加えると、このスキルは説明しています。

詳細

作者による元の説明

Use when auditing metadata, crawlability, structured data, or indexability related to Avoid redirect chains on canonical URLs. Verify the rendered HTML and HTTP response rather than relying only on source files.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2765
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル