Link Checker
Audit and fix broken or insecure links across your Webflow site to improve SEO and user experience.
Important Note
ALWAYS use Webflow MCP tools for all operations:
- Use Webflow MCP's
webflow_guide_tool to get best practices before starting
- Use Webflow MCP's
data_sites_tool with action list_sites to identify available sites
- Use Webflow MCP's
data_sites_tool with action get_site to retrieve site details
- Use Webflow MCP's
data_pages_tool with action list_pages to get all pages
- Use Webflow MCP's
data_pages_tool with action get_page_content to extract links from static pages
- Use Webflow MCP's
data_pages_tool with action update_static_content to fix links on static pages (requires Designer)
- Use Webflow MCP's
data_cms_tool with action get_collection_list to get all CMS collections
- Use Webflow MCP's
data_cms_tool with action get_collection_details to get collection schemas
- Use Webflow MCP's
data_cms_tool with action list_collection_items to get CMS items with links
- Use Webflow MCP's
data_cms_tool with action update_collection_items to fix links in CMS (draft)
- Use Webflow MCP's
data_cms_tool with action publish_collection_items to publish fixed CMS items
- DO NOT use any other tools or methods for Webflow operations
- All tool calls must include the required
context parameter (15-25 words, third-person perspective)
- Designer connection required for static page link fixes
Instructions
Phase 1: Site Selection & Discovery
- Get site information: Use Webflow MCP's
data_sites_tool with action list_sites to identify target site
- Confirm scope: Ask user if they want to check:
- Static pages only
- CMS content only
- Both static pages and CMS content
- List pages: Use Webflow MCP's
data_pages_tool with action list_pages to get all pages
- List collections: Use Webflow MCP's
data_cms_tool with action get_collection_list to get all CMS collections
Phase 2: Link Extraction & Validation
- Extract links from static pages: Use Webflow MCP's
data_pages_tool with action get_page_content for each page
- Identify all link elements (Link, Button, TextLink, LinkBlock)
- Capture: pageId, nodeName, URL, link text
- Extract links from CMS: Use Webflow MCP's
data_cms_tool with action list_collection_items for each collection
- Identify Link fields and Rich Text fields with links
- Capture: collectionId, itemId, fieldName, URL
- Validate each link: Test URL accessibility
- Check for 4xx/5xx errors (broken links)
- Check for HTTP vs HTTPS (insecure links)
- Test if HTTP has HTTPS equivalent available
- Flag redirects (3xx status codes)
- Categorize results:
- β
Working links (2xx status)
- β Broken links (4xx/5xx errors)
- β οΈ Insecure links (HTTP when HTTPS available)
- π Redirects (3xx status)
- βͺ Manual review needed (timeouts, DNS errors, etc.)
Phase 3: Analysis & Reporting
- Calculate statistics:
- Total links scanned
- Links by type (internal vs external)
- Links by status (working, broken, insecure, redirects)
- Links by location (static pages vs CMS)
- Generate health score: Calculate link health (0-100)
- Working links: +1 point each
- Broken links: -5 points each
- Insecure links: -2 points each
- Redirects: -1 point each
- Normalize to 0-100 scale
- Identify critical issues: Prioritize fixes
- π΄ Critical: Broken links on high-traffic pages
- β οΈ Warning: Insecure HTTP links
- π‘ Suggestion: Optimize redirects
Phase 4: Suggestion Generation & Approval
- Generate fix suggestions: For each problematic link, suggest fix
- Broken links: Remove link or update to correct URL
- Insecure links: Upgrade HTTP to HTTPS
- Redirects: Update to final destination URL
- Show preview with validation:
[1] β Fix insecure link
Page: About Us
Element: Button "Learn More"
Current: http://example.com
Suggested: https://example.com
β
HTTPS version verified working
[2] β οΈ Fix broken link
Page: Blog Post "Getting Started"
Element: Text link
Current: https://oldsite.com/page
Suggested: [REMOVE LINK or provide correct URL]
β URL returns 404 - manual review needed
- Implement granular approval: Ask user which fixes to apply
- Type numbers to skip (e.g., "2,4")
- Type "all" to proceed with all automatic fixes
- Type "none" to cancel
- Flag manual review items separately
Phase 5: Execution & Confirmation
- Apply fixes to static pages: Use Webflow MCP's
pages_update_static_content
- Requires Designer connection
- Update link URLs in nodes
- Process in batches of 20 links
- Apply fixes to CMS content: Use Webflow MCP's
data_cms_tool with action update_collection_items
- Update Link fields directly
- Update links in Rich Text fields
- Process in batches of 50 items
- Publish changes (if requested): Use Webflow MCP's
data_cms_tool with action publish_collection_items
- Show progress: Display progress indicators for large operations
- Generate final report:
- Links scanned: X
- Links fixed: Y
- Links requiring manual review: Z
- Health score improvement: Before β After
Phase 6: Verification & Recommendations
- Verify fixes: Re-check fixed links to confirm success
- Report failures: Clearly identify any fixes that failed
- Provide recommendations:
- Schedule regular link checks (monthly/quarterly)
- Set up monitoring for critical external links
- Consider using 301 redirects for changed URLs
- Export report (optional): Offer to export findings
Examples
Example 1: Complete Site Audit
User prompt:
Run a complete link check on my site and fix any issues
Step 1: Site Selection
π Link Checker: Site Selection
Available sites:
1. Company Website
2. Blog Site
3. Portfolio
Which site would you like to audit? (1/2/3)
Step 2: Scope Confirmation
π 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)
Step 3: Extraction & Validation
π 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%)
Step 4: Analysis Report
π 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
Step 5: Fix Preview
π§ 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
Step 6: After User Approves "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)
Example 2: CMS-Only Link Check
User prompt:
Check all links in my blog posts
Step 1: Collection Selection
π 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...
Step 2: Link Extraction
π 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
Step 3: Issue Report
π 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