Skip to main content

audit broken

Usage

seo-ops audit broken [--path=<path>] [--format=table|json|csv] [--output=<file>]

Detect and report broken internal links across all published content. Uses the link_analyzer.py Python module with HTTP HEAD checks.

Examples

# Default table output
seo-ops audit broken --path=/var/www/html

# JSON output
seo-ops audit broken --path=/var/www/html --format=json

# Save to file
seo-ops audit broken --path=/var/www/html --output=broken-report.csv

Features

  • Checks internal links with HTTP HEAD requests
  • Reports HTTP status codes for each broken link
  • Lists the post containing each broken link
  • Groups by post for easy fixes