pagination
できること
このスキルは、ブログのアーカイブやカテゴリーページなど、ページ分割された一覧を確認し、各ページが自分自身のアドレスを指すようにします。コンテンツが多くのページに分かれているサイト運営者向けです。
使う場面
- ✓ブログのアーカイブやカテゴリーページのcanonicalタグを確認するようエージェントに頼むとき。
- ✓一覧の2ページ目以降が、Googleの検索結果に出てこないとき。
- ✓サイトで無限スクロールや「もっと見る」ボタンを使っていて、検索エンジンが内容に到達できるようにしたいとき。
スキルのリンク
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/pagination/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“1ページ目以降のカテゴリーページがGoogleに表示されません。canonicalタグを確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、ページ分割されたURLを見つけ、各ページのcanonicalタグが自分自身を指しているかを確認します。実際の重複コンテンツがないのに1ページ目を指している場合は、タグを更新し、無限スクロールのためにクロール可能なリンクを追加します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Use canonicals on paginated pages
Incorrect pagination canonicalization can prevent pages 2, 3, etc. from being indexed, removing valuable content from search results and breaking user journeys from search queries that match content on later pages.
Quick Reference
- Each paginated page (/page/2, /page/3) should self-canonicalize to its own URL
- Do NOT canonicalize all paginated pages to page 1 — this is a common mistake
- Google dropped support for rel=prev/next in 2019 — don't rely on it
- Use consistent URL patterns for pagination (?page=2 or /page/2, never both)
- Infinite scroll and load-more UIs still need crawlable paginated URLs or links
Check
Find paginated page sequences (URLs with ?page=, /page/, /p/, or numbered suffixes). For each page, check the canonical tag. Verify that each page self-canonicalizes (page 2 canonical-url = page 2 URL). Flag any paginated page that incorrectly points canonical-url to page 1. If the UI uses infinite scroll or "load more", verify equivalent crawlable pagination links exist.
Fix
Update canonical tags so each paginated page self-references. For /category?page=2, set <link rel='canonical' href='https://example.com/category?page=2' />. Remove any canonical pointing paginated pages to the first page unless those pages genuinely have duplicate content. Add crawlable paginated URLs or fallback links for infinite-scroll interfaces.
Explain
Pagination canonical tags tell Google which URL is the preferred version of each page. Setting all paginated pages to canonical-url to page 1 tells Google that pages 2, 3, etc. are duplicates of page 1 — so Google stops indexing them. Content that only appears on page 3 (for example) then becomes unreachable from search.
Code Review
Identify paginated URL patterns (URLs with page=, /page/, /p/ parameters). For each paginated page beyond page 1, check the canonical tag. Flag any page 2+ that has a canonical pointing to page 1 (the base URL). Verify that page 1 has a self-referencing canonical. Check that pagination URL format is consistent (no mixing of ?page= and /page/). For JS-driven infinite scroll, verify there is still a crawlable path to page 2+ via real links or paginated URLs.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/pagination
よくある質問
すべてのページを1ページ目に向けるのはなぜ誤りですか?
2ページ目以降が検索から外れ、後のページに着地する検索の流れを壊し、コンテンツが失われるおそれがあるからです。
rel prevとrel nextはまだ重要ですか?
このスキルによると、Googleは2019年にそのサポートをやめたため、頼るべきではありません。
URLのパターンは統一すべきですか?
はい。このスキルは、?page=2か/page/2のような一つのパターンを使い、両方は使わないよう勧めています。
詳細
作者による元の説明
Use when auditing paginated content (blog archives, product category pages, search results). Applies to any site with lists or grids of content split across multiple pages.
人気
- GitHubのスター
- 75k
- ランキング
- #2969
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
frontendchecklist
75kコマンドラインツールを使って、フロントエンドのコードとライブページを、アクセシビリティ、速度、SEO、セキュリティに関する380以上のルールと照らし合わせて確認します。
frontend-checklist-global
75kフロントエンドのプロジェクトを、386のFront-End Checklistのルールすべてと照らし合わせて監査し、見つかった問題ごとに具体的な修正方法を示します。
404-page
75k見つからないページの画面に役立つリンクがあり、本物の404ステータスを返すかを確認し、迷った訪問者が目的のページを見つけられるようにします。
about-page
75kサイトの運営者が誰かを説明する、分かりやすいAboutページがあるかを確認し、訪問者と検索エンジンからの信頼を高めます。
似ているスキル
competitive-platform-analysis
280k競合他社を把握するのに役立ちます。より深い分析を行う前に、競合企業を特定し、分類し、絞り込みます。
competitive-report-structure
280k包括的な競合レポートを作成します。情報をまとめて業界全体の状況や提言を示し、チームの認識をそろえるのに役立ちます。
lead-intelligence
280kエージェントが重要な人物を見つけて連絡を取るのを支援します。見込み客を分析し、アプローチを提案し、メールやSNSを通じたアウトリーチを管理します。