> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fetchski-attract.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Redirects

> Send visitors from an old web address to the right page, so old links and search results keep working.

Changed a page's address, or moved to Attract from an older website? A redirect sends anyone who visits the old address to the right page. Old links, bookmarks and search results keep working.

A redirect only catches addresses on your site's own domain. If your old website used a different domain, that domain must also point at your Attract site first. Ask Fetchski Support to set that up.

&#x20;**Who can do this:** Contributors, Editors, Admins and Owners. There's no draft: a redirect works as soon as you save it.

## Before you start

* Know the old address, starting from the first slash after your domain. For `www.parkerspuppyplayland.example/daycare-info`, that's `/daycare-info`.
* Know where it should go: a page on your site, or a full web address elsewhere.

## Add a redirect

**1. Open Redirects**

Open the command palette (⌘K, or Ctrl+K on Windows) and choose **Redirects**. The shortcut is G then D.

![The Manage Redirects window listing three of Parker's redirects (Booking link, Old blog posts, Old daycare page), with New Redirect ringed.](https://mintcdn.com/fetchski-attract-api/DSJs5HmTF1-gpNT3/images/cms/guides/build-pages/redirects/guides-build-pages-redirects-manager-light.png?fit=max\&auto=format\&n=DSJs5HmTF1-gpNT3\&q=85\&s=b9f2cf6087bed910baf77e5af4ab82ff)

All your redirects in one list.

**2. Start a new one**

Choose **New Redirect**.

**3. Name it**

In **Description**, write a note for yourself, such as "Old daycare page". Visitors never see it.

**4. Enter the old address**

In **Old URL**, type it with the leading slash and no slash at the end, such as `/daycare-info` (not `/daycare-info/`).

**5. Choose where it goes**

Under **Link Type**, choose **Internal Page** to pick a page on your site, then use **Browse Pages** under **Page Title**. Or choose **URL** and type a full web address.

**6. Choose the type**

Under **Redirect Type**, keep **Permanent (status code 301)** for a page that has moved for good, or choose **Temporary (status code 302)** for a short-term move. Browsers and search engines remember a permanent redirect, so a mistake can stick around after you fix it. If you're unsure, save it as **Temporary**, test it, then change it to **Permanent**.

**7. Save**

Choose **Save**. The redirect works straight away.

![The New Redirect window filled in: Description "Old daycare page", Old URL "/daycare-info", Link Type Internal Page, Page Title "Daycare", Redirect Type Permanent; Save ringed.](https://mintcdn.com/fetchski-attract-api/DSJs5HmTF1-gpNT3/images/cms/guides/build-pages/redirects/guides-build-pages-redirects-new-light.png?fit=max\&auto=format\&n=DSJs5HmTF1-gpNT3\&q=85\&s=63d6688f84213533aa5a416c4e8331c8)

A permanent redirect from an old address to a page.

Leave **Slug** as it is: it fills itself in.

Test it: open a private browser window and visit the old address. You should land on the new page.

## Redirect a whole group of addresses

Use one `*` to stand for the rest of an address. It must take the place of a whole part between slashes, and it can't come straight after the first slash.

* **Everything to one page.** Old URL `/old-blog/*`, **Internal Page** "Blog". Every old post address goes to your blog.
* **Keep the end of the address.** Old URL `/old-blog/*`, **URL** `https://www.parkerspuppyplayland.example/blog/*`. The part the `*` matched goes into the new address, so `/old-blog/puppy-tips` lands on `/blog/puppy-tips`.

When two redirects fit the same address, the more exact one wins:

* An exact match always wins over a `*`. With `/old-blog/*` going to your blog and `/old-blog/puppy-tips` going to a Training page, a visit to `/old-blog/puppy-tips` lands on Training.
* Between two `*` redirects, the longer old address wins. With `/old-blog/*` and `/old-blog/2024/*`, a visit to `/old-blog/2024/spring-party` follows `/old-blog/2024/*`.

## Addresses with a question mark

Some old addresses end in extras after a `?`, such as `/book?ref=flyer`.

* **Ignore query string when matching**: turn on **Yes** so `/book` also catches `/book?ref=flyer` and every other ending.
* **Forward query string**: turn on **Yes** to carry the `?…` part over to the new address. It isn't carried over on `*` redirects.

## Change or remove a redirect

Open **Redirects**, choose the redirect to edit it, and choose **Save**. To stop one, select it in the list and choose **Archive**.

## What happens next

Visitors to the old address land on the new one straight away. With **Permanent**, search engines move the old address's place in their results to the new page over time.

## Troubleshooting

> [accordion] Infinite redirect: Old URL cannot be the same as URL
>
> The redirect points at itself. Change the **URL** to the new address, or the **Old URL** to the old one.

> [accordion] The Old URL won't save
>
> Check the address:
>
> * It starts with `/` and doesn't end with one: `/daycare-info`, not `/daycare-info/`.
> * It has at most one `*`, standing alone between slashes, and not straight after the first slash.
> * You can't redirect your whole site with `/*`.

> [accordion] The old address still opens the old page
>
> * Capital letters count: `/Daycare-Info` and `/daycare-info` are different addresses. Add a redirect for each one people use.
> * Is the extra `?…` part getting in the way? Turn on **Ignore query string when matching**.
> * Is the page it points to published? A redirect to an unpublished page does nothing.
> * Your browser may remember an earlier version. Try a private window.

## Related

> [card] [Pages and the page tree](https://docs.fetchski-attract.com/guides/build-pages/pages-and-the-page-tree.md)
>
> rename and move pages.

> [card] [Page SEO](https://docs.fetchski-attract.com/guides/build-pages/page-seo.md)
>
> how each page shows up in search.

> [card] [Site-wide SEO](https://docs.fetchski-attract.com/guides/site-settings/seo.md)
>
> business details for search engines.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.