GitHub

Broken Links

Detects links returning 404 or 5xx errors

Detects links returning 404 or 5xx errors

Rule IDlinks/broken-links
CategoryLinks
ScopeSite-wide
Severityerror
Weight7/10

Solution

Broken links hurt user experience and waste crawl budget. Regularly audit links using tools or crawlers. Fix or remove broken links. Set up 301 redirects for moved content. For external links, consider using nofollow and regularly verifying they still work. Implement custom 404 pages that help users find content.

Enable / Disable

Disable this rule

squirrel.toml
toml
[rules]
disable = ["links/broken-links"]
squirrel.toml
toml
[rules]
disable = ["links/*"]

Enable only this rule

squirrel.toml
toml
[rules]
enable = ["links/broken-links"]
disable = ["*"]

Type to search…

↑↓ navigate ↵ open esc close