How to Find Broken Internal Links with OpenClaw

Find broken internal links with OpenClaw and ToolRouter. Automated link auditing for better site health.

Tool
SEO Analysis icon
SEO Analysis

OpenClaw crawls your site to find every broken internal link and outputs a structured report with source URLs, target URLs, and HTTP status codes. The machine-readable format lets you feed results directly into scripts that auto-generate redirect rules or update link references in your content database.

Connect ToolRouter to OpenClaw

1Install the CLI
npm install -g toolrouter-mcp
2Call tools directly from OpenClaw
toolrouter-mcp call web-search search --query "AI tools"
toolrouter-mcp tools

Steps

Once connected (see setup above), use the SEO Analysis tool:

  1. Ask: "Crawl mysite.com and report all broken internal links"
  2. Review the results
  3. Request a fix plan with redirect suggestions
  4. Re-scan after applying fixes

Example Prompt

Try this with OpenClaw using the SEO Analysis tool
Find all broken internal links on mysite.com and suggest fixes.

Tips

  • Run regularly to catch link rot early
  • Ask for broken links sorted by page importance
  • Combine with site crawler for a complete site health check

Related Workflows

Comprehensive Website AuditRun a full-spectrum website audit combining SEO analysis, performance testing, site crawling, and visual documentation in one workflow.Competitor Analysis SuiteBuild a complete competitive intelligence dossier by combining company research, SEO analysis, social media audits, and ad library searches.Local SEO OptimizationOptimize your local search presence with schema markup auditing, GEO optimization, and local search result analysis.SEO Content StrategyBuild a data-driven SEO content strategy from keyword research through SERP analysis to deep topic research for content differentiation.Link Building ResearchResearch link building opportunities by analyzing backlink profiles, finding prospects, identifying contacts, and researching their social presence.Landing Page OptimizerOptimize landing pages by auditing SEO elements, testing performance, capturing responsive screenshots, and generating new hero visuals.Competitor Content Gap AnalysisFind content gaps by comparing pages with competitors, mapping their content strategy, scoring opportunities, and validating with SERP data.Video SEOOptimize video content for search by extracting transcripts, auditing video page SEO, researching video keywords, and creating thumbnails.Website Migration AuditPrepare for website migration by crawling the current site, documenting SEO baselines, benchmarking performance, and recording DNS configuration.GEO Optimization SuiteOptimize for AI-powered search engines with GEO auditing, structured data verification, and search visibility testing.Pre-Acquisition Domain AuditAudit a domain before purchase by reviewing registration history, DNS state, web archive history, and SEO reputation.YouTube Content PipelineOptimize YouTube videos for discovery with keyword research, SEO analysis, transcript extraction, and AI thumbnails.