# Redirect an old web address

Send visitors and search engines from an address that no longer exists on your site to the page that replaced it.

Audience: dealer-managers
Availability: available
Canonical source: https://rooftoprv.com/docs/redirect-an-old-web-address

A redirect sends anyone who opens one address on your site to another address. Use one when you rename a page or retire a page. Also use one when you move from an old website whose links are still out there.

## Before you start

- You need the **View website admin** permission to open the **Redirects** page.
- You need the **Edit website configuration** permission to add, change, or delete a redirect.
- A redirect matches one exact address, including capital letters. It doesn't cover addresses underneath it, so `/service` doesn't redirect `/service/parts`.
- A redirect wins over a page. If a page and a redirect share an address, visitors get the redirect.

## Add a redirect

1. Go to **Website** > **Settings** > **Redirects**.
2. Select **Add redirect**.
3. In **From path**, enter the old address.
   Start with `/` and leave off the slash at the end. For example, `/rv-service-center`.
4. In **To path**, enter where visitors should go.
   Use a path on your site, such as `/service`. Or use a full address on another site, such as `https://example.com/page`.
5. Choose a **Status code**:
   - **301 - Permanent redirect** tells search engines the page has moved for good. This is the starting choice and the right one for most cases.
   - **302 - Temporary redirect** is for a move you plan to undo.
6. Optional: enter a **Reason (optional)** so your team knows why the redirect exists.
7. Select **Create**.
   The redirect appears in the list, with the old address, the new address, and its status code.

A new redirect can take up to 5 minutes to start working.

## Change or delete a redirect

> **Warning:** Deleting a redirect can't be undone. The old address stops redirecting right away.

To change a redirect:

1. Go to **Website** > **Settings** > **Redirects**.
2. Select **Edit** (the pencil icon) on its row.
3. Edit the fields.
4. Select **Update**.

To delete a redirect:

1. Go to **Website** > **Settings** > **Redirects**.
2. Select **Delete** (the trash icon) on its row.
   Your browser asks "Are you sure you want to delete this redirect?"
3. Select **OK**.

## Review redirects your site adds for you

Two actions in the page editor add a redirect to this list.

| When you | Your site adds |
|---|---|
| Change the address of a page that has been published, and check **301 redirect** | A redirect from the old address to the new one, with the reason "Page slug changed" |
| Archive a page that has been published | A redirect from the page's address to your homepage, with the reason "Page archived" |

The **301 redirect** box is unchecked to start. A changed address isn't redirected unless you check it.

Publishing a page that isn't currently published removes any redirect from that page's address. That includes a redirect you added yourself. That's how an archived page gets its address back when you publish it again.

See [Create and publish a page](https://rooftoprv.com/docs/create-and-publish-a-page).

## Troubleshooting

**A message says the address "only exists on the main site"**
The **To path** points at a part of the site your dealership doesn't have, such as `/search`, `/compare`, or `/dealers`. Or it points at an address ending in `.md`. Visitors would land on a "not found" page, so the redirect can't be saved. Choose a page on your own site.

**Saving shows an error instead of creating the redirect**
There are three possible causes. The **From path** doesn't start with `/`. Another redirect already uses it. Or you don't have the **Edit website configuration** permission. Without that permission, you still see **Add redirect**, but saving shows an error. Each old address can have one redirect, so edit the existing one instead.

**My new page doesn't show, and visitors go somewhere else**
A redirect uses the page's address. Delete that redirect, then check the page again.

**My redirect isn't working**
A new redirect can take up to 5 minutes. Then check that **From path** matches the old address exactly. It needs the same capital letters, no web address in front, nothing after a `?`, and no `/` at the end. A **From path** that ends in `/` never matches.

**A redirect I added disappeared**
Someone published a page at that address. Publishing removes the redirect so the page can show. Add the redirect again only if you want visitors sent away from that page.

## Related guides

- [Create and publish a page](https://rooftoprv.com/docs/create-and-publish-a-page)
