# Redirects

Moved pages redirect on their own. Add your own redirects for anything else.

## Automatic redirects

Docsheaf remembers the address of every published page and section. When a path no longer leads to a
page, readers are sent to where it lives now:

- **Moved and renamed pages** — a new slug, a new parent, a change in visibility, a merged change
  request or a restore.
- **Moved sections** — a renamed section slug, reordered sections, a section that's no longer the home,
  a space moved to another site, and variants added or removed.

There's nothing to set up. If you later create a new page at an old address, the new page wins.

## Custom redirects

For everything else — addresses from your previous docs tool, retired pages, short links — add
redirects in the site's **Settings → Redirects**:

| Source | Destination |
| --- | --- |
| `/old/getting-started` | `/quickstart` |
| `/status` | `https://status.example.com` |

- The source is an exact path on the site.
- The destination is a path on the site or a full URL.
- Readers get a permanent redirect (`308`).

A site can have up to 500 custom redirects. Custom redirects are part of the Pro plan; automatic
redirects work on every plan.

{% hint style="info" %}
Redirects only apply when no page matches the path. A page at the same address always wins over a
redirect.
{% endhint %}
