Redirect Mapping Tool

Paste your old and new URL lists and get a best-guess redirect map, ranked by confidence, ready for Shopify, Apache or Nginx.

Describe the result you need. AI will set up the tool and ask for any missing details.

Configure with AI

Enter to submit · Shift + Enter for a new line

Sent to AI. Leave out passwords and private customer data.

Matched
1
Probably right
3
Weak guess
1
No match
1

1 old URL has no good match. They default to "/" below, fix them by hand before importing.

Old URLNew URLConfidence
/products/blue-t-shirt/products/blue-tshirtMedium
/products/red-hoodie-mens/products/mens-red-hoodieMedium
/collections/summer-sale/collections/summerMedium
/pages/about-us/pages/aboutLow
/blogs/news/how-to-care-for-cotton/blogs/journal/how-to-care-for-cottonHigh
/products/discontinued-item-2019/No match

Apache (.htaccess)

.htaccess
Redirect 301 /products/blue-t-shirt /products/blue-tshirt
Redirect 301 /products/red-hoodie-mens /products/mens-red-hoodie
Redirect 301 /collections/summer-sale /collections/summer
Redirect 301 /pages/about-us /pages/about
Redirect 301 /blogs/news/how-to-care-for-cotton /blogs/journal/how-to-care-for-cotton
Redirect 301 /products/discontinued-item-2019 /

Nginx

redirects.conf
rewrite ^/products/blue-t-shirt$ /products/blue-tshirt permanent;
rewrite ^/products/red-hoodie-mens$ /products/mens-red-hoodie permanent;
rewrite ^/collections/summer-sale$ /collections/summer permanent;
rewrite ^/pages/about-us$ /pages/about permanent;
rewrite ^/blogs/news/how-to-care-for-cotton$ /blogs/journal/how-to-care-for-cotton permanent;
rewrite ^/products/discontinued-item-2019$ / permanent;

How the matching works

Paste your old site's URLs on one side and the new site's URLs on the other, one per line, full URLs or just paths. For every old URL, the tool compares its path segments and slug against every new URL and picks the closest match.

  • High confidence: the paths are identical, or share almost all of the same words in the same structure.
  • Medium confidence: most words match, but the path structure changed (a category was renamed, or a page moved up a level).
  • Low confidence: a handful of words overlap. Worth checking by hand.
  • No match: nothing in the new list is close. These default to the homepage ("/") in the export, replace them with a better target before you use the file.

This is a starting point, not a guarantee. Always spot-check the matches, especially anything below high confidence, before you publish redirects on a live site.

Using the export

  • Shopify: the CSV downloads with the exact "Redirect from" and "Redirect to" headers Shopify's importer expects. Go to Content → Menus → URL redirects → Import.
  • Apache: copy the .htaccess block, it uses one Redirect 301 line per URL.
  • Nginx: copy the config block into your server's redirect rules and reload Nginx.

Questions people ask

Can I use full URLs with different domains?

Yes. Only the path is compared for matching; the domain is ignored so you can migrate between two different domains.

What should I do with "No match" rows?

Point them somewhere useful by hand: the closest category or collection page, or the homepage as a last resort. A 404 that redirects to a random page hurts more than a clean 404.

Does this create the redirects for me?

No, it builds the mapping file. You still need to import it (Shopify) or deploy the config (Apache/Nginx) yourself.

How many URLs can I paste in?

There's no hard limit, but very large lists (many thousands of URLs) will take longer to compare and are easier to review in smaller batches, by section or content type.

Want this builtinto your store?

I'm Emmanuel, a Shopify and WooCommerce developer. If this tool pointed at something you'd rather have fixed for you (a faster store, cleaner product data, a migration, a custom feature), send me a note.

Emmanuel Asika

Emmanuel Asika

Shopify & WooCommerce developer, Dublin

I build and fix online stores: new builds, migrations, speed, SEO and the custom bits apps can't do.

hello@emmanuelasika.com

Last reviewed 30 September 2026.

Sources: Shopify Help Center: Creating and managing URL redirects