Catalog Audit

Audit tool / Guides

How to Fix 404 Errors on Shopify with URL Redirects (Single and Bulk CSV)

By Evan Walter · Updated 2026-11-12

To fix a 404 on Shopify, create a URL redirect from the broken address to the closest live page. In your Shopify admin, go to Content → Menus, click View URL Redirects, then Create URL redirect. For dozens or hundreds of broken URLs, import a CSV on the same screen instead.

When a redirect is the right fix

A visitor or Google lands on a 404 when a URL no longer points to anything. Common causes on Shopify: a product set to Draft, a hidden collection, a deleted page, a renamed URL, or an old link from before a store migration. Shopify's help center notes that hiding a collection or setting a product to Draft makes its URL return a 404, which makes it eligible for a redirect.

Redirect when there is a close replacement: the new product, the parent collection, or a related page. If nothing relevant exists, leaving the 404 is fine. Sending every dead URL to the homepage is a poor experience for shoppers.

Create a single redirect

  1. In your Shopify admin, go to Content → Menus.
  2. Click View URL Redirects, then Create URL redirect.
  3. In Redirect from, enter the old URL, for example /products/old-shirt.
  4. In Redirect to, enter the new URL. A relative URL such as /collections/shirts works for your primary domain. Use a full URL for another domain. Enter / to send visitors to the homepage.
  5. Click Save redirect. Shopify says it works immediately.

Test it by opening the old URL in a private browser window.

Bulk redirects with a CSV

  1. Go to Content → Menus → URL redirects.
  2. Click Import, then Add File, and choose your CSV.
  3. Click Upload file, review the preview, then click Import redirects.

Shopify provides a sample CSV template on that screen. Download it and match its columns exactly, rather than guessing the format. You can also use Export on the same screen to download your current redirects, edit them in a spreadsheet and re-import.

To delete redirects you no longer want, select them on the URL redirects screen and click Delete selected redirects.

Things that trip people up

Prevent the next 404

Before you delete a product or change its URL, decide where its old address should point. If you rename product URLs, see renaming a handle safely. Products set to draft can create 404s too, and cleaning up duplicate products is a common time to create several at once, so plan the redirects in the same session.

Want to see what else is weak in your catalog? Run the free catalog audit.

Check your own store in 20 seconds

The free Catalog Audit for Shopify stores scans up to 1,000 products for empty or thin descriptions, duplicate titles, missing alt text and more, then links each issue to a fix.

Prefer to hand it off? I'm Evan, a Shopify and full-stack developer. Leave your email and store URL and I'll reply with a short, prioritized fix list. Free, no obligation.