Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.squirrelscan.com/llms.txt

Use this file to discover all available pages before exploring further.

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
[rules]
disable = ["links/redirect-chains"]
squirrel.toml
[rules]
disable = ["links/*"]

Enable only this rule

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