link-checker について
静的ページと CMS コンテンツのリンクを保守するチーム向けの、Webflow サイト監査スキルです。リンク切れや安全でない URL を検出し、修正前に確認を求めます。
主な機能
- 01静的ページと CMS のリンクをスキャン
- 02リンク切れ、HTTP、リダイレクトを検出
- 03状態や場所ごとに結果を集計
- 04リンクの修正案を提示
- 05承認後にページや CMS の内容を更新
活用シーン
- 01サイト内のリンク切れを確認
- 02利用可能な HTTP リンクを HTTPS に変更
- 03ブログ記事内のリンクを確認
- 04静的ページや CMS のリンクを修正
MCP 対応
Webflow MCP で静的ページと CMS のリンクを抽出し、内容を更新します。静的ページの修正には Designer の接続が必要で、CMS の変更や公開には該当する CMS ツールを使います。
インストール
コマンドをコピーしてターミナルで実行します。
npx skills add https:/ / github.com/ webflow/ webflow-skills --skill link-checkerインストール後、Claude Code で/link-checkerを入力して読み込まれたか確認します。
詳細
リンクチェッカー
Webflow サイト全体のリンク切れや安全でないリンクを監査し、修正して、SEO とユーザーエクスペリエンスを向上させます。
重要な注意事項
すべての操作で必ず Webflow MCP ツールを使用してください:
- 開始前にベストプラクティスを確認するには、Webflow MCP の
webflow_guide_toolを使用します - 利用可能なサイトを特定するには、action
list_sitesを指定して Webflow MCP のdata_sites_toolを使用します - サイトの詳細を取得するには、action
get_siteを指定して Webflow MCP のdata_sites_toolを使用します - すべてのページを取得するには、action
list_pagesを指定して Webflow MCP のdata_pages_toolを使用します - 静的ページからリンクを抽出するには、action
get_page_contentを指定して Webflow MCP のdata_pages_toolを使用します - 静的ページのリンクを修正するには、action
update_static_contentを指定して Webflow MCP のdata_pages_toolを使用します(Designer が必要です) - すべての CMS コレクションを取得するには、action
get_collection_listを指定して Webflow MCP のdata_cms_toolを使用します - コレクションのスキーマを取得するには、action
get_collection_detailsを指定して Webflow MCP のdata_cms_toolを使用します - リンクを含む CMS アイテムを取得するには、action
list_collection_itemsを指定して Webflow MCP のdata_cms_toolを使用します - CMS 内のリンクを修正するには、action
update_collection_itemsを指定して Webflow MCP のdata_cms_toolを使用します(下書き) - 修正済みの CMS アイテムを公開するには、action
publish_collection_itemsを指定して Webflow MCP のdata_cms_toolを使用します - Webflow の操作には、その他のツールや方法を使用しないでください
- すべてのツール呼び出しに、必須の
contextパラメーター(第三者の視点で15~25語)を含める必要があります - 静的ページのリンク修正には Designer への接続が必要です
手順
フェーズ1:サイトの選択と確認
- サイト情報を取得する:対象サイトを特定するには、action
list_sitesを指定して Webflow MCP のdata_sites_toolを使用します - 対象範囲を確認する:次のどれを確認するか、ユーザーに尋ねます:
- 静的ページのみ
- CMS コンテンツのみ
- 静的ページと CMS コンテンツの両方
- ページを一覧表示する:すべてのページを取得するには、action
list_pagesを指定して Webflow MCP のdata_pages_toolを使用します - コレクションを一覧表示する:すべての CMS コレクションを取得するには、action
get_collection_listを指定して Webflow MCP のdata_cms_toolを使用します
フェーズ2:リンクの抽出と検証
- 静的ページからリンクを抽出する:各ページに対して、action
get_page_contentを指定して Webflow MCP のdata_pages_toolを使用します- すべてのリンク要素(Link、Button、TextLink、LinkBlock)を特定します
- 次の情報を取得します:pageId、nodeName、URL、リンクテキスト
- CMS からリンクを抽出する:各コレクションに対して、action
list_collection_itemsを指定して Webflow MCP のdata_cms_toolを使用します- リンクを含む Link フィールドと Rich Text フィールドを特定します
- 次の情報を取得します:collectionId、itemId、fieldName、URL
- 各リンクを検証する:URL にアクセスできるかテストします
- 4xx/5xx エラー(リンク切れ)を確認します
- HTTP と HTTPS を確認します(安全でないリンク)
- HTTP に対応する HTTPS が利用可能かテストします
- リダイレクト(3xx ステータスコード)を検出します
- 結果を分類する:
- ✅ 動作するリンク(2xx ステータス)
- ❌ リンク切れ(4xx/5xx エラー)
- ⚠️ 安全でないリンク(HTTPS が利用可能なのに HTTP を使用)
- 🔄 リダイレクト(3xx ステータス)
- ⚪ 手動確認が必要(タイムアウト、DNS エラーなど)
フェーズ3:分析とレポート
- 統計を計算する:
- スキャンしたリンクの合計数
- 種類別のリンク数(内部リンクと外部リンク)
- ステータス別のリンク数(動作、リンク切れ、安全でないリンク、リダイレクト)
- 場所別のリンク数(静的ページと CMS)
- 健全性スコアを算出する:リンクの健全性を計算します(0~100)
- 動作するリンク:1件につき+1ポイント
- リンク切れ:1件につき-5ポイント
- 安全でないリンク:1件につき-2ポイント
- リダイレクト:1件につき-1ポイント
- 0~100のスケールに正規化します
- 重大な問題を特定する:修正の優先順位を決めます
- 🔴 重大:トラフィックの多いページのリンク切れ
- ⚠️ 警告:安全でない HTTP リンク
- 💡 提案:リダイレクトを最適化する
フェーズ 4:修正案の生成と承認
- 修正案を生成する:問題のあるリンクごとに修正案を提示します
- リンク切れ:リンクを削除するか、正しい URL に更新します
- 安全でないリンク:HTTP を HTTPS にアップグレードします
- リダイレクト:最終的なリンク先 URL に更新します
- 検証結果付きのプレビューを表示する:
[1] ✓ 安全でないリンクを修正 ページ:会社概要 要素:ボタン「詳しくはこちら」 現在:http://example.com 提案:https://example.com ✅ HTTPS 版の動作を確認しました [2] ⚠️ リンク切れを修正 ページ:ブログ記事「入門」 要素:テキストリンク 現在:https://oldsite.com/page 提案:[リンクを削除するか、正しい URL を指定してください] ❌ URL が 404 を返しています。手動での確認が必要です - 個別に承認できるようにする:適用する修正をユーザーに確認します
- スキップする番号を入力します(例:「2,4」)
- すべての自動修正を適用するには「all」と入力します
- キャンセルするには「none」と入力します
- 手動確認が必要な項目は別途明示します
フェーズ 5:実行と確認
- 静的ページに修正を適用する:Webflow MCP の
data_pages_toolでアクションupdate_static_contentを使用します- Designer への接続が必要です
- ノード内のリンク URL を更新します
- リンク 20 件ずつバッチ処理します
- CMS コンテンツに修正を適用する:Webflow MCP の
data_cms_toolでアクションupdate_collection_itemsを使用します- Link フィールドを直接更新します
- リッチテキストフィールド内のリンクを更新します
- アイテム 50 件ずつバッチ処理します
- 変更を公開する(要求された場合):Webflow MCP の
data_cms_toolでアクションpublish_collection_itemsを使用します - 進行状況を表示する:大規模な処理では進行状況を表示します
- 最終レポートを作成する:
- スキャンしたリンク数:X
- 修正したリンク数:Y
- 手動確認が必要なリンク数:Z
- ヘルススコアの改善:変更前 → 変更後
フェーズ 6:検証と推奨事項
- 修正を検証する:修正したリンクを再確認し、成功したことを確認します
- 失敗を報告する:失敗した修正があれば、明確に示します
- 推奨事項を提示する:
- 定期的なリンクチェックをスケジュールします(月次/四半期ごと)
- 重要な外部リンクの監視を設定します
- URL を変更する際は、301 リダイレクトの使用を検討します
- レポートをエクスポートする(任意):調査結果のエクスポートを提案します
例
例 1:サイト全体の監査
ユーザープロンプト:
Run a complete link check on my site and fix any issues
ステップ 1:サイトの選択
🔍 Link Checker: Site Selection
Available sites:
1. Company Website
2. Blog Site
3. Portfolio
Which site would you like to audit? (1/2/3)
ステップ 2:対象範囲の確認
📋 Link Checker Scope
What would you like to check?
1. Static pages only (faster)
2. CMS content only
3. Both static pages and CMS content (comprehensive)
Recommendation: Option 3 for complete audit
Your choice? (1/2/3)
ステップ 3:抽出と検証
🔄 Scanning Links...
Progress: ████████████████████ 100%
Found 247 links:
├── Static pages: 89 links (15 pages)
├── CMS content: 158 links (3 collections)
│ ├── Blog Posts: 142 links
│ ├── Team Members: 12 links
│ └── Products: 4 links
Validating links...
Progress: ████████████████████ 100% (247/247 checked)
✅ Working: 215 links (87%)
❌ Broken: 8 links (3%)
⚠️ Insecure: 18 links (7%)
🔄 Redirects: 6 links (2%)
ステップ 4:分析レポート
📊 Link Health Report: Company Website
Overall Health Score: 76/100 ⚠️
## Issues Found:
### 🔴 Critical: Broken Links (8)
├── [1] Page: "About Us"
│ └── Link to: https://partner-site.com/old-page
│ Status: 404 Not Found
│ Impact: High (homepage)
│
├── [2] CMS: Blog Post "Product Launch"
│ └── Link to: https://press-release.com/announcement
│ Status: 404 Not Found
│ Impact: Medium
│
├── [3-8] 6 more broken links...
### ⚠️ Warning: Insecure Links (18)
├── [9] Page: "Contact"
│ └── Link: http://social-media.com/company
│ Fix: https://social-media.com/company
│ ✅ HTTPS verified working
│
├── [10] CMS: Blog Post "Getting Started"
│ └── Link: http://tutorial-site.com
│ Fix: https://tutorial-site.com
│ ✅ HTTPS verified working
│
├── [11-26] 16 more insecure links...
### 💡 Suggestion: Redirects (6)
├── [27] Page: "Services"
│ └── Link: https://example.com/old-url
│ Redirects to: https://example.com/new-url
│ Suggestion: Update to final destination
│
├── [28-32] 5 more redirects...
---
💡 Recommendations:
1. Fix 8 broken links immediately (SEO impact)
2. Upgrade 18 HTTP links to HTTPS (security)
3. Update 6 redirects to final URLs (performance)
Estimated time to fix: ~5 minutes
ステップ 5:修正プレビュー
🔧 Proposed Fixes (26 total)
### Automatic Fixes Available (24):
[1] ✓ Upgrade to HTTPS
Page: Contact
Element: Button "Follow Us"
Current: http://social-media.com/company
New: https://social-media.com/company
✅ HTTPS verified working
[2] ✓ Upgrade to HTTPS
CMS: Blog Posts > "Getting Started" > content field
Current: http://tutorial-site.com
New: https://tutorial-site.com
✅ HTTPS verified working
[3] ✓ Update redirect
Page: Services
Element: Text link "Learn more"
Current: https://example.com/old-url
New: https://example.com/new-url
✅ Final destination verified
[4-24] ... 21 more automatic fixes
### Manual Review Required (2):
[25] ⚠️ Broken link - needs correction
Page: About Us
Element: Button "View Partner Site"
Current: https://partner-site.com/old-page
Issue: 404 Not Found
Action needed: Provide correct URL or remove link
[26] ⚠️ Broken link - needs correction
CMS: Blog Posts > "Product Launch" > content field
Current: https://press-release.com/announcement
Issue: 404 Not Found
Action needed: Update with correct URL or remove
---
Which fixes would you like to apply?
- Type "all" to apply all 24 automatic fixes
- Type numbers to skip (e.g., "3,5,7")
- Type "none" to cancel
ステップ 6:ユーザーが「all」を承認した後
✅ Applying Fixes...
Progress: ████████████████████ 100%
Static Pages:
- Updated 8 links on 5 pages
- ✅ Contact page: 3 links fixed
- ✅ Services page: 2 links fixed
- ✅ About page: 1 link fixed
- ✅ Blog page: 2 links fixed
CMS Content:
- Updated 16 links in 12 items
- ✅ Blog Posts: 14 links fixed
- ✅ Team Members: 2 links fixed
---
🎉 Link Fixes Complete!
Summary:
- Links scanned: 247
- Links fixed: 24 ✅
- Manual review needed: 2 ⚠️
- Failed: 0 ❌
Health Score: 76 → 95 (+19) ✨
---
⚠️ Manual Review Items:
[1] About Us page - broken partner link
Current: https://partner-site.com/old-page
Action: Update or remove manually
[2] Blog post "Product Launch" - broken press release
Current: https://press-release.com/announcement
Action: Update or remove manually
---
💡 Next Steps:
1. Fix the 2 manual review items
2. Re-run link checker in 1 month
3. Set up monitoring for critical external links
4. Consider 301 redirects for any URL changes
Would you like to export this report? (yes/no)
例 2:CMS のみのリンクチェック
ユーザープロンプト:
Check all links in my blog posts
ステップ 1:コレクションの選択
🔍 Link Checker: CMS Collections
Found 3 collections:
1. Blog Posts (47 items)
2. Team Members (8 items)
3. Categories (6 items)
You requested blog posts. Checking "Blog Posts" collection...
ステップ 2:リンクの抽出
🔄 Extracting Links from Blog Posts...
Progress: ████████████████████ 100% (47/47 items)
Found 142 links in Blog Posts:
├── Link fields: 23 links
├── Rich Text content: 119 links
└── Total unique URLs: 87 (55 appear multiple times)
Validating links...
Progress: ████████████████████ 100% (87/87 unique URLs checked)
Results:
✅ Working: 79 links (91%)
❌ Broken: 3 links (3%)
⚠️ Insecure: 5 links (6%)
🔄 Redirects: 0 links
ステップ 3:問題のレポート
📊 Blog Posts Link Health: 91/100 ✅
## Issues Found:
### 🔴 Broken Links (3):
[1] Post: "Getting Started with Webflow"
Field: content (Rich Text)
Link: https://old-docs.example.com/guide
Status: 404 Not Found
Appears in: 3 posts
[2] Post: "Best Practices 2024"
Field: external-link (Link)
Link: https://expired-resource.com
Status: 410 Gone
[3] Post: "Tutorial Series Part 3"
Field: content (Rich Text)
Link: https://video-host.com/deleted-video
Status: 404 Not Found
### ⚠️ Insecure Links (5):
[4] Post: "Case Study: Company A"
Field: content (Rich Text)
Link: http://company-a-site.com
Fix: https://company-a-site.com
✅ HTTPS available and working
[5-8] 4 more insecure links...
---
🔧 Proposed Fixes:
[1] ⚠️ Remove broken link (manual review)
Posts affected: 3 (Getting Started, Tutorial 1, Tutorial 2)
Link: https://old-docs.example.com/guide
Suggestion: Update to new docs URL if available
[2] ⚠️ Remove broken link (manual review)
Post: "Best Practices 2024"
Link: https://expired-resource.com
Suggestion: Remove or replace with alternative
[3] ⚠️ Remove broken link (manual review)
Post: "Tutorial Series Part 3"
Link: https://video-host.com/deleted-video
Suggestion: Update with new video URL
[4] ✓ Upgrade to HTTPS
Post: "Case Study: Company A"
Current: http://company-a-site.com
New: https://company-a-site.com
✅ HTTPS verified working
[5-8] ... 4 more HTTPS upgrades
---
Which fixes would you like to apply?
- Type "4-8" to apply only HTTPS upgrades
- Type "all" for all automatic fixes
- Type "none" to cancel
例 3:静的ページのみ(クイックチェック)
ユーザープロンプト:
Quick check on my static pages for broken links
応答:
🔍 Quick Link Check: Static Pages
Scanning 15 static pages...
Progress: ████████████████████ 100%
Found 89 links across 15 pages
Validation Results:
✅ All links working! (89/89)
Health Score: 100/100 ✨
Your static pages have no broken or insecure links.
💡 Tip: Run a full audit including CMS content for comprehensive coverage.
例 4:特定の問題の修正
ユーザープロンプト:
I have some broken links on my About page. Can you fix them?
応答:
🔍 Checking Links on "About" Page...
Found 12 links on About page
Validation Results:
✅ Working: 9 links
❌ Broken: 2 links
⚠️ Insecure: 1 link
---
Issues Found:
[1] ❌ Broken: Partner site link
Element: Button "Visit Partner"
Link: https://partner-old-site.com
Status: 404 Not Found
Fix: Manual review needed
[2] ❌ Broken: Team member profile
Element: Text link "Meet Sarah"
Link: /team/sarah-old-profile
Status: 404 Not Found
Fix: Update to /team/sarah-johnson?
[3] ⚠️ Insecure: Social media link
Element: Link "Follow us"
Link: http://social.com/company
Fix: https://social.com/company
✅ HTTPS verified
---
Which fixes would you like to apply?
- Type "3" to only fix the insecure link
- Type "2,3" to fix items 2 and 3
- Type "all" for automatic fixes
- Type "none" to cancel
Note: Item [1] requires manual correction with correct URL
ガイドライン
フェーズ 1:検出のベストプラクティス
サイトの選択:
data_sites_toolでアクションlist_sitesを使用し、利用可能なサイトを取得します- サイト ID を決めつけないでください
- ユーザーにサイト名を確認します
対象範囲の定義:
- 静的ページ、CMS、または両方のどれをチェックするか尋ねます
- 対象範囲に基づいて所要時間を見積もります:
- 静的ページのみ:1~3 分
- CMS のみ:2~5 分(アイテム数によって異なります)
- サイト全体:5~10 分
コレクションの選択:
- すべてのコレクションをアイテム数とともに一覧表示します
- ユーザーがコレクションを指定した場合は、そのコレクションを対象にします
- 「all CMS」の場合は、すべてのコレクションをチェックします
フェーズ 2:リンク抽出のベストプラクティス
静的ページのリンク抽出:
data_pages_toolのアクションget_page_contentを使用して、ページノードを取得します- 次のノードタイプを確認します:
- Link(a タグ)
- Button(リンク付き)
- TextLink
- LinkBlock
- href/url プロパティを抽出します
- 報告用にリンクテキストを取得します
- 後で修正できるよう nodeId を記録します
CMS のリンク抽出:
data_cms_toolのアクションget_collection_detailsを使用して、Link フィールドと Rich Text フィールドを特定しますdata_cms_toolのアクションlist_collection_itemsを使用して、すべてのアイテムを取得します- Link フィールドの場合:URL を直接抽出します
- Rich Text フィールドの場合:HTML を解析して タグを抽出します
- 修正用に collectionId、itemId、fieldName を記録します
リンクの検証:
- URL ごとに検証します(重複した検証は避けます)
- まず HEAD リクエストを使用します(GET より高速です)
- HEAD が失敗した場合は GET に切り替えます
- タイムアウトを処理します(最大 10 秒)
- HTTP リンクの場合:HTTPS に切り替えた URL も検証します
- ステータスコードと最終 URL(リダイレクト後)を記録します
分類ルール:
✅ Working (2xx):
- 200 OK
- 201 Created
- 204 No Content
❌ Broken (4xx/5xx):
- 400 Bad Request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
- 410 Gone
- 500 Internal Server Error
- 502 Bad Gateway
- 503 Service Unavailable
⚠️ Insecure (HTTP):
- URL starts with http://
- HTTPS equivalent exists and returns 2xx
- Mark as "upgrade to HTTPS"
🔄 Redirects (3xx):
- 301 Moved Permanently
- 302 Found
- 307 Temporary Redirect
- 308 Permanent Redirect
⚪ Manual Review:
- Timeout errors
- DNS resolution failures
- Connection refused
- SSL certificate errors
フェーズ 3:分析のベストプラクティス
ヘルススコアの計算:
Formula:
1. Base score = 100
2. Working links: No change
3. Broken links: -5 points each
4. Insecure links: -2 points each
5. Redirects: -1 point each
6. Minimum score: 0
7. Maximum score: 100
Example:
- Total links: 200
- Working: 180 (no penalty)
- Broken: 5 (−25 points)
- Insecure: 10 (−20 points)
- Redirects: 5 (−5 points)
- Score: 100 − 25 − 20 − 5 = 50/100
問題の優先順位付け:
🔴 Critical (fix immediately):
- Broken links on homepage
- Broken links on high-traffic pages
- Broken links in navigation
- 404 errors on important external references
⚠️ Warning (fix soon):
- Insecure HTTP links (security risk)
- Broken links on blog posts
- Broken links in footer
- 410 Gone errors
💡 Suggestion (optimize):
- 301 redirects (update to final destination)
- 302 redirects (may change, monitor)
- External links with slow response times
報告する統計情報:
Essential:
- Total links scanned
- Working links count & percentage
- Broken links count & percentage
- Insecure links count & percentage
- Redirect links count & percentage
Detailed:
- Links by location (static vs CMS)
- Links by type (internal vs external)
- Most common issues
- Pages/items with most issues
- External domains with most broken links
フェーズ 4:提案生成のベストプラクティス
自動修正の基準:
Can auto-fix:
✅ HTTP → HTTPS (if HTTPS verified working)
✅ Redirects → Final destination (if final URL verified)
✅ Relative URLs → Absolute URLs (for external sites)
Needs manual review:
⚠️ Broken links (404, 410, 5xx) - requires correct URL
⚠️ HTTP with no HTTPS equivalent
⚠️ Timeouts or connection errors
⚠️ SSL certificate errors
⚠️ Authentication required (401, 403)
プレビュー形式:
[X] ✓ Auto-fix available
Location: [Page name or CMS item]
Element: [Element type + text]
Current: [Current URL]
New: [Proposed URL]
✅ Verification: [Status]
[Y] ⚠️ Manual review needed
Location: [Page name or CMS item]
Element: [Element type + text]
Current: [Current URL]
Issue: [Error description]
Suggestion: [What to do]
個別の承認:
- 修正項目に 1 から順に番号を付けます
- すべての自動修正を先に表示します
- 手動確認が必要な項目は別に表示します
- ユーザーが特定の修正を選択できるようにします
- 選択肢:「all」、「none」、または個別の番号
- 例:「1,3,5-10」を指定すると、修正 1、3、5 から 10 が適用されます
フェーズ 5:実行のベストプラクティス
静的ページの更新:
Requirements:
- Designer connection required
- Use data_pages_tool with action update_static_content
- Update nodes array with new URLs
- Process in batches of 20 links per page
- Verify updates after each batch
Error Handling:
- If Designer not connected: Report and skip static pages
- If update fails: Mark link and continue with others
- Report partial successes separately
CMS の更新:
For Link Fields:
- Direct update: fieldData[fieldName] = "new-url"
- Use data_cms_tool with action update_collection_items
- Option: update live or draft
For Rich Text Fields:
- Parse HTML content
- Find and replace <a> tags
- Preserve other HTML formatting
- Update fieldData[fieldName] with new HTML
Batch Processing:
- Process 50 items per batch
- Show progress for large collections
- Handle API rate limits gracefully
公開:
Ask user:
"Would you like to publish the changes immediately?"
- Yes: Use data_cms_tool with action publish_collection_items
- No: Leave as drafts
For static pages:
- Changes are immediate (Designer updates live)
- Warn user that static page changes are live
フェーズ 6:検証のベストプラクティス
再検証:
- 修正したすべてのリンクを再確認します
- ステータスが変わったことを確認します(404 → 200、HTTP → HTTPS)
- 機能しなかった修正があれば報告します
- 新しいヘルススコアを計算します
失敗の報告:
If any fixes failed:
❌ Fixes that failed (X):
[1] Failed to update
Location: Contact page
Reason: Designer connection lost
Action: Reconnect Designer and retry
[2] URL still broken
Location: Blog post "Guide"
Reason: HTTPS version returned 404
Action: Manual correction needed
成功の報告:
✅ Summary:
Before:
- Health Score: 76/100
- Broken links: 8
- Insecure links: 18
- Redirects: 6
After:
- Health Score: 95/100 (+19)
- Broken links: 2 (6 fixed, 2 need manual review)
- Insecure links: 0 (18 fixed)
- Redirects: 0 (6 fixed)
Changes:
- Static pages: 8 links updated on 5 pages
- CMS content: 16 links updated in 12 items
- Total fixes: 24 ✅
- Manual review: 2 ⚠️
推奨事項:
Always provide:
1. Schedule for next check (monthly/quarterly)
2. Monitoring suggestions for critical links
3. Best practices for avoiding broken links
4. URL redirect strategies if applicable
Example:
💡 Recommendations:
1. **Schedule regular checks**
- Run link checker monthly for active sites
- Run quarterly for static sites
- Set calendar reminder
2. **Monitor critical external links**
- Key partners: company-a.com, partner-site.com
- Documentation: docs.example.com
- Social media profiles
3. **Set up URL redirects**
- If changing URLs, create 301 redirects
- Test redirects before going live
- Keep redirect map updated
4. **Best practices**
- Test external links before adding
- Use relative URLs for internal links
- Avoid deep linking to external pages
- Verify links after major redesigns
フェーズ 7:エクスポートのオプション
レポート形式:
Offer to export findings:
1. **Markdown** - Human-readable report
- Include all statistics
- List all issues found
- Show fixes applied
- Add recommendations
- Great for documentation
2. **CSV** - Spreadsheet format
- Columns: Location, Element, URL, Status, Issue, Fix Applied
- Easy to filter and analyze
- Good for sharing with team
3. **JSON** - Machine-readable data
- Complete raw data
- Useful for integrations
- Archive for historical tracking
エクスポート例(Markdown):
# Link Audit Report: Company Website
Date: January 10, 2026
## Summary
- Total links scanned: 247
- Health score: 95/100
- Links fixed: 24
- Manual review needed: 2
## Issues Found
### Broken Links (8)
1. About Us > Button "Visit Partner"
- URL: https://partner-old-site.com
- Status: 404 Not Found
- Fix: Manual review needed
...
## Recommendations
1. Schedule monthly link checks
2. Monitor key external links
3. Set up 301 redirects for URL changes
フェーズ 8:パフォーマンスの最適化
バッチ処理:
For large sites:
- Process pages in batches of 10
- Process CMS items in batches of 50
- Show progress: "Processing batch 1 of 5..."
- Timeout protection: Skip after 30s per batch
検証結果のキャッシュ:
- Cache validation results by unique URL
- If same URL appears 10 times, validate once
- Report: "Checking 87 unique URLs (out of 247 total links)"
- Reduces validation time significantly
並列処理と逐次処理:
Parallel (faster):
- Link validation (test multiple URLs simultaneously)
- Page content extraction (fetch multiple pages)
Sequential (required):
- Link updates (one at a time to avoid conflicts)
- Publishing (one batch at a time)
フェーズ 9:エラー処理
よくあるエラー:
1. Designer が接続されていない場合:
❌ Error: Cannot update static pages
Reason: Designer MCP app not connected
Solution:
1. Open Webflow Designer
2. Open the target site
3. Connect Designer MCP app
4. Retry static page fixes
Note: CMS fixes can proceed without Designer
2. レート制限:
⚠️ Warning: Rate limit reached
Pausing for 60 seconds...
Progress will resume automatically.
Current: 50/200 links validated
3. タイムアウトエラー:
⚠️ Link validation timeout
Link: https://very-slow-site.com
Timeout: 10 seconds exceeded
Marked for manual review.
Continuing with remaining links...
4. SSL 証明書エラー:
⚠️ SSL Certificate Error
Link: https://expired-cert-site.com
Issue: Certificate expired
Cannot verify HTTPS. Marked for manual review.
フェーズ 10:エッジケース
ケース 1:問題が見つからない場合
🎉 Excellent! No Issues Found
All 247 links are working correctly!
Health Score: 100/100 ✨
Your site has:
✅ No broken links
✅ No insecure HTTP links
✅ No unnecessary redirects
💡 Recommendation:
Run this check monthly to maintain link health.
ケース 2:すべてのリンクが壊れている場合
❌ Critical: Multiple Broken Links
Found 89 broken links across all pages.
This suggests a possible site-wide issue:
- Domain migration not configured?
- External service outage?
- Relative URL path issues?
🔍 Recommended Action:
1. Check if external services are down
2. Verify domain and SSL configuration
3. Test a few links manually
4. Contact Webflow support if needed
Shall I still proceed with individual link fixes? (yes/no)
ケース 3:HTTP と HTTPS が混在するサイト
⚠️ Mixed Content Warning
Your site uses HTTPS but has 18 HTTP links.
This creates:
- Security warnings in browsers
- SEO penalties
- Trust issues for visitors
🔧 Recommendation:
Upgrade all HTTP links to HTTPS (all 18 can be auto-fixed)
Proceed with upgrade? (yes/no)
ケース 4:リダイレクトチェーン
⚠️ Redirect Chain Detected
Link: https://example.com/old
→ 301 to: https://example.com/temp
→ 301 to: https://example.com/final
Recommendation: Update directly to final URL
- Improves page load speed
- Reduces redirect overhead
- Better for SEO
Fix: Update to https://example.com/final
Apply fix? (yes/no)
本番環境向けチェックリスト
リンクチェッカーの実装が完了したと判断する前に、以下を確認してください。
✅ 検出
- サイトがすべての詳細情報とともに一覧表示されている
- 対象範囲が確認されている(静的ページ/CMS/両方)
- すべてのページが取得されている
- すべてのコレクションが特定されている
- ユーザーが所要時間の見積もりを把握している
✅ リンク抽出
- 静的ページのリンクが正しく抽出されている
- CMS のリンクフィールドが特定されている
- Rich Text のリンクが正しく解析されている
- すべてのリンク要素(nodeId、URL、テキスト)が取得されている
- 検証用に重複 URL がまとめられている
✅ 検証
- URL ごとに検証されている
- ステータスコードが正しく取得されている
- HTTP/HTTPS の確認が機能している
- リダイレクトが検出され、最終 URL が取得されている
- タイムアウト処理が実装されている
- エラーが正確に分類されている
✅ 分析
- ヘルススコアが正しく計算されている
- 問題に優先順位が付けられている(重大/警告/提案)
- 統計情報が漏れなく正確である
- 内部リンクと外部リンクが分けられている
- 場所の追跡(ページ/CMS)が正確である
✅ 提案生成
- 自動修正が正しく特定されている
- 手動確認が必要な項目に印が付けられている
- 提案前に HTTPS への切り替えが確認されている
- リダイレクト先の最終 URL が確認されている
- プレビュー形式が明確で詳細である
- 各修正の検証ステータスが表示されている
✅ 承認システム
- きめ細かな承認を実装済み
- ユーザーが特定の修正を選択可能
- 「all」/「none」/番号の形式が機能
- 手動レビュー項目を分離
- 明確な手順を提示
✅ 実行
- 静的ページの更新が機能(Designer 接続済み)
- CMS Link フィールドの更新が機能
- CMS Rich Text のリンク更新が機能
- バッチ処理を実装済み
- 進行状況を表示
- エラーを適切に処理
✅ 検証
- 修正したリンクを再検証
- 新しいヘルススコアを算出
- 失敗を明確に報告
- 部分的な成功と完全な失敗を分けて表示
- 変更前後の比較を表示
✅ レポート
- 最終サマリーを完成
- 統計が正確
- 推奨事項を提示
- エクスポートオプションを提供
- 次の手順を明確化
✅ エラー処理
- Designer の切断に対応
- タイムアウトエラーに対応
- レート制限に対応
- SSL エラーに対応
- 部分的な失敗を個別に報告
✅ パフォーマンス
- 大規模処理向けにバッチ処理を実施
- 検証時に URL を重複排除
- 長時間の処理で進行状況を表示
- タイムアウト保護を実装
- API を効率的に利用
✅ ユーザー体験
- 各ステップで明確なフィードバックを提供
- 進行状況を表示
- 変更前に警告を表示
- 成功を明確に通知
- 実行可能な推奨事項を提示