URL: /rules/links/orphan-pages

---
title: "Orphan Pages"
description: "Detects pages with no internal links pointing to them"
---

Detects pages with no internal links pointing to them

| | |
|---|---|
| **Rule ID** | `links/orphan-pages` |
| **Category** | [Links](/rules/links) |
| **Scope** | Site-wide |
| **Severity** | warning |
| **Weight** | 5/10 |

## Solution

Orphan pages have no internal links and are hard for search engines to discover. They may not get indexed or rank well. Add internal links from relevant pages. Include in navigation or sidebar. Add to sitemap. Create contextual links from related content. If intentionally orphaned (e.g., landing pages), ensure they're accessible via sitemap.

## Options

This rule supports the following configuration options:

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `minInboundLinks` | unknown | `undefined` | Minimum inbound links required (pages below this are flagged) |
| `excludePatterns` | unknown | `undefined` | URL patterns to exclude from orphan detection |

### Configuration Example

```toml squirrel.toml
[rules."links/orphan-pages"]
minInboundLinks = undefined
excludePatterns = undefined
```

## Enable / Disable

### Disable this rule

```toml squirrel.toml
[rules]
disable = ["links/orphan-pages"]
```

### Disable all Links rules

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

### Enable only this rule

```toml squirrel.toml
[rules]
enable = ["links/orphan-pages"]
disable = ["*"]
```
