Docs Redirects
Documentation

Redirects

Every fix Relink applies installs a real, native Shopify URL redirect — the same kind you'd create by hand in Online Store → Navigation → URL Redirects. There is no Relink-side proxy layer.

Native, not middleware

A common question: "If I uninstall Relink, do my redirects break?" No. Every redirect lives in Shopify's own URL redirect table. Relink writes to it via the Admin API and that's it.

That has a few useful consequences:

  • Redirects keep working if you uninstall Relink.
  • You can see and edit every Relink-created redirect in Shopify admin.
  • They apply to every storefront — Liquid theme, Hydrogen, custom Storefront API.
  • They count toward Shopify's per-store redirect limit (currently 100,000), just like manual ones.

What it looks like in Shopify admin

In your Shopify admin under Online Store → Navigation → URL Redirects, every Relink-created redirect appears as a normal row. The From URL is the broken slug; the To URL is the AI's chosen replacement.

Shopify admin · URL Redirects
/products/ceramic-mug-blue-old
→ /products/ceramic-mug-cobalt
Active
/collections/black-friday-2023
→ /collections/sale
Active
/pages/winter-2023-sale
→ /pages/winter-sale
Active

The Redirects page

Inside Relink, the /app/redirects page lists every redirect this app installed — every BrokenLink with a non-null redirectId. It's the same data as in Shopify admin, but filtered to just Relink's footprint, with extra context like which source pages used the link and when the redirect was created.

Stale redirects

A redirect is stale when it points to a target that's no longer needed — for example, the original broken URL has come back to life because you re-published the product, or you applied a manual fix that updated the source HTML without a redirect.

The Clean up stale button on the Redirects page audits every Relink-installed redirect and deletes the ones whose From URL is now reachable (returns 2xx without following the redirect).

When this fires

This is the reason checkLink uses redirect: "follow" in the scanner. After a fix is applied, the original URL "becomes healthy" because of Relink's own redirect — that's how stale detection knows the source URL has been re-published.

Partial fixes

Occasionally a fix gets the FIXED_PARTIAL status. This means Relink successfully patched the source HTML (so internal navigation works) but the Shopify URL redirect didn't save. Causes:

  • You've hit Shopify's redirect cap.
  • A duplicate redirect already exists with the same From URL.
  • A transient Admin API error.
Fix history · partial
/products/old-knit-scarf
Patched in 3 pages · Redirect failed: duplicate exists
Partial

A partial fix is safe — visitors browsing your storefront see the new link. The only people affected are external visitors who hit the old URL directly (e.g. from a Google search cache or a backlink). They'll see a 404 until the redirect is retried, which happens automatically on the next scan or when you click Retry redirect in Fix history.

Reverting a fix

Every fix is one-click reversible from the /app/history page. Undo:

  • Restores the original anchor in every source resource.
  • Deletes the Shopify URL redirect.
  • Re-flags the row as OPEN so it shows up in your queue again.
Edge case

If the original fix was a Remove (the anchor tag was deleted), Undo can't auto-restore it — there's no stored replacement URL to insert. You'll need to re-add the link manually in Shopify admin.

CSV export

The Export button on the Redirects page produces a CSV with one row per redirect:

relink-redirects.csv
from_url,to_url,source,confidence,applied_at,status
/products/old-mug,/products/cobalt-mug,AI,0.96,2026-05-12T08:14Z,FIXED
/collections/bf-2023,/collections/sale,HEURISTIC,1.00,2026-05-12T08:14Z,FIXED
/pages/old-faq,/pages/faq,MANUAL,1.00,2026-05-14T12:31Z,FIXED
/products/winter-2022,/products/winter,AI,0.81,2026-05-14T12:31Z,FIXED_PARTIAL

Need a hand?

Email laurencetuchin@gmail.com — average reply under one business day.

Install Relink