GitHub

Redirect Chains

Detects URLs that redirect and links pointing to redirects

Detects URLs that redirect and links pointing to redirects

Rule IDlinks/redirect-chains
CategoryLinks
ScopeSite-wide
Severitywarning
Weight4/10

Solution

Redirects add latency and waste crawl budget, especially when chained. Make sure every internal link hits the final destination directly, not the intermediate redirect, and consult the chain context emitted by this rule to trace multi-hop paths. Consolidate redirect rules, prefer 301s for permanent moves, and audit redirects regularly to remove legacy hops.

Enable / Disable

Disable this rule

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

Enable only this rule

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

Type to search…

↑↓ navigate ↵ open esc close