---
title: "Redirects"
url: https://www.marlasowards.com/samples/contributor-guide/admin/47-redirects
description: "Two ways to redirect a docs page to a new URL: in the article's metadata or in the Redirect.yml file."
author: Writing sample by Marla Sowards
---

> For an index of every page on this site, see [llms.txt](https://www.marlasowards.com/llms.txt).

> **Note:** I built this project for an enterprise SaaS company. However, what I've shared is genericized to mask proprietary information, including names of companies, products, features, and UI controls. Product images are mockups generated by Claude.

# Redirects

## Option 1: Add redirect in article

```yaml
---
uid: page.md
title: Page
redirect_url: [new URL]
---
```

## Option 2: Add redirect in Redirect.yml

Add redirects in **Redirect.yml** (site-theme repo > **src/homepage/Redirect.yml**).

The source file for the page being redirected does not have to remain in the blob.

It also works for pictures and videos. They reload in the page.
