URL: /rules/links/redirect-chains

---
title: "Redirect Chains"
description: "Detects URLs that redirect and links pointing to redirects"
---

Detects URLs that redirect and links pointing to redirects

| | |
|---|---|
| **Rule ID** | `links/redirect-chains` |
| **Category** | [Links](/rules/links) |
| **Scope** | Site-wide |
| **Severity** | warning |
| **Weight** | 4/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

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

### Disable all Links rules

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

### Enable only this rule

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