How to undo a redirect

You can remove a redirect the app created, within 30 days of creating it. After you undo it, visitors to the old link see a 404 page again. A redirect you changed with Use suggestion is different: Undo points it back to where it went before. This article shows how to undo one redirect, how to undo a whole batch from History, and what happens to the link afterwards.

Before you start

Undo one redirect

  1. In the app, open Redirects.
  2. In the table Redirects Sol: SEO Optimizer created, find the row. The Why column tells you where it came from: Product deleted, Collection deleted, 404 fix, Broken link, URL cleanup or URL cleanup undone.
  3. If the row has an Undo button at the end, select it. A row from URL cleanup has an Undo in History link instead; select it to open that change in History and undo it there (see below). After 30 days that row shows Undo expired.
  4. In the Undo this redirect? window, select Undo redirect.

A toast says "Redirect removed". The redirect is deleted from Shopify, and the old link shows a 404 page again.

Undo a change made with Use suggestion

  1. On the row of the redirect, select Undo.
  2. The Undo this change? window shows which page the link will go to again. Select Undo change.

A toast says that the old link redirects to the previous page again. The redirect is not removed, so the old link keeps working.

Some redirects changed with Use suggestion earlier show Can't be undone instead of Undo. To change where such a redirect goes, use Manage all redirects in Shopify.

What happens to the link afterwards

What you see next depends on where the redirect came from.

When an undo is skipped

The app removes a redirect, or points it back, only if it still exists in Shopify with the target the app set. If someone changed or deleted it in Shopify first, the app leaves it alone and says The redirect wasn't changed.

If the app cannot confirm the undo, it says We couldn't undo this change. Reload the page to see where the redirect goes before you try again.

[!WARNING] Removing a redirect makes the old link a 404 again. If search engines or other sites still link to it, visitors will land on an error page.

Undo from History

Each redirect action is one line in History, with the Redirects filter. A bulk redirect, or one pass of automatic redirects, is a single line. Its View redirects button opens the Redirects page, where you undo each redirect with Undo. URL cleanup is the exception: undo it from History with View changes > Undo change, which puts the old URL back and removes its redirect. The Undo in History link on the redirect's row takes you straight there. See How to see what changed and undo it in History.

History records the undo of one redirect as its own line, and that line cannot be undone. Its title shows the result:

Title in History What happened
Redirect removed The redirect was removed
Redirect pointed back The redirect goes to its previous page again
Redirect not changed Nothing was undone and the redirect was left as it is
Redirect undo didn't finish The app could not confirm the undo

Change where a redirect goes

You do not have to remove a redirect to change its target. For a redirect from the deleted-products setting, if the app has an AI suggestion, select Use suggestion on its row. To go back to the previous target, select Undo on that row. See How AI-suggested redirect targets work. For any other change, undo the redirect and create a new one from the 404 log, or edit it in Shopify with Manage all redirects in Shopify.

Should you undo it at all

Undo a redirect when it points visitors to the wrong page, or when you recreated a page at the old address and want the cleanup to be tidy. Keep a redirect when the old link still has visitors or other sites linking to it, because removing it sends them to an error page.

The app never removes redirects on its own

The app never deletes a redirect unless you undo it. Redirects stay in your store, even after you uninstall the app, until you remove them in Shopify.

Related articles

← How AI-suggested redirect targets work