How to Fix 404 Pages in Shopify (2026)

Last updated
•
Expert reviewed
•
5 min read

Key takeaways

  • Find your 404 errors in Google Search Console under Pages → Not found (404).
  • Add redirects in Shopify: Online Store → Navigation → URL Redirects → Add redirect.
  • Bulk redirects can be imported via CSV — useful when migrating products or redesigning your store.
  • 404s from deleted products with backlinks should always be redirected. Lost backlinks = lost ranking power.

To fix 404 pages in Shopify, find the broken URLs in Google Search Console (Indexing → Pages → Not found (404)), then add a 301 redirect for each one in Online Store → Navigation → URL Redirects, or import them in bulk by CSV.

A 404 error means someone (or a search engine) tried to visit a page that no longer exists. These happen naturally as you run a store — you delete products, rename collections, change URL slugs. Every time you do, any links pointing to the old URL now hit a dead end.

For SEO, the critical ones are 404s on pages that had backlinks or were ranking in Google.

Why 404s hurt your Shopify store

Lost backlinks. If a product page had links from other websites and you delete it without a redirect, those links now point to a 404. The SEO value from those backlinks is effectively gone.

Crawl waste. Google’s crawl budget is finite. Crawling 404s instead of live pages wastes crawl budget that could be spent indexing new content.

Poor user experience. Real shoppers following links from social posts, emails, or Google arrive at a dead end and usually leave.


How to find your Shopify 404 errors

Google Search Console

The most reliable source for 404s that Google has found:

  1. Open Google Search Console
  2. Select your property
  3. Go to Indexing → Pages
  4. Click “Not found (404)” in the “Why pages aren’t indexed” section
  5. Export the list of affected URLs

These are pages Google tried to crawl and found broken. Prioritize any that had significant traffic or backlinks.

Shopify Analytics

Shopify’s analytics has no 404 report. In GA4, filter page views by the page title your 404 template uses (often “404 Not Found”) to see which broken URLs shoppers hit.

An SEO crawl tool

Tools like Screaming Frog or Ahrefs’ Site Audit will crawl your store and flag all internal 404 links (links within your own site pointing to dead pages).

To fix broken links in your menus, see how to edit navigation menus in Shopify.


How to add URL redirects in Shopify

Adding a single redirect

  1. Go to Online Store → Navigation
  2. Click URL Redirects
  3. Click Add redirect
  4. Enter the Redirect from path (e.g., /products/old-product-name) — use only the path, not the full URL
  5. Enter the Redirect to path (e.g., /products/new-product-name or /collections/category)
  6. Click Save redirect

Shopify creates a 301 (permanent) redirect. This passes link equity from the old URL to the new one.

What to redirect to

Deleted product with an equivalent replacement: redirect to the replacement product.

Deleted product with no replacement: redirect to the most relevant collection.

Deleted collection: redirect to the parent category or homepage.

Changed URL slug: redirect old slug to new slug. When you change the URL handle of a product, collection, page or blog post, Shopify offers a “Create a URL redirect” checkbox (on by default). Leave it ticked and the old URL redirects automatically.


Bulk importing redirects via CSV

For large migrations or site redesigns where you have hundreds of old URLs to redirect:

Step 1 — Prepare your CSV. Create a spreadsheet with two columns: Redirect from and Redirect to. Each row is one redirect. Save as CSV.

Step 2 — Import. Online Store → Navigation → URL Redirects → Import.

Step 3 — Upload your CSV and confirm the import.

Tip: Shopify allows up to 100,000 URL redirects (20 million on Shopify Plus). If you’re migrating a very large catalog, prioritize pages with the most backlinks and traffic — use Ahrefs or Google Search Console to identify these.


Common 404 situations in Shopify

Deleted products. When you delete a product (rather than archiving it), the URL returns a 404. Always redirect deleted products, especially if they were selling well or had backlinks.

Renamed collections. Changing a collection’s URL handle breaks existing links unless the “Create a URL redirect” box stays ticked when you save. If it was unticked, add a redirect from the old URL to the new one.

Blog posts that were removed. Blog posts can accumulate backlinks over time. Deleting a post without a redirect wastes that link equity.

Variant URLs. Shopify product variant URLs (e.g., /products/shirt?variant=12345) can 404 if a variant is deleted. These are harder to manage — prioritize the most-linked variant URLs.

Fix your Shopify store's technical issues with Fudge.
Start free trial

For duplicate URLs that still load, see how to add canonical tags in Shopify.


What to do about a large number of 404s

If you find hundreds of 404 errors after a store migration or redesign:

  1. Export the full 404 list from Google Search Console
  2. Filter for pages that had impressions (these were ranking) — export the impressions column
  3. Sort by impressions, descending
  4. Work through the list top-down, redirecting high-impression pages first
  5. For low-traffic 404s with no backlinks, a lower-priority cleanup is fine

Don’t be paralyzed trying to fix every 404. Focus where the SEO and traffic impact is real.


FAQ

Will 404 errors hurt my Shopify SEO directly?

Indirectly. Google doesn't penalize sites for having 404s — broken pages are normal as content evolves. The harm is in losing the link equity that pointed to those pages. A 404 with no backlinks has near-zero SEO impact; a 404 on a page with 200 inbound links is significant lost value.

Should I redirect every deleted Shopify product?

Redirect deleted products that had backlinks, traffic, or were ranking. For products that never had visibility (new SKUs deleted shortly after creation), redirects are unnecessary. Bulk-redirecting every deleted product clutters the redirect list and uses some of Shopify's 100,000-redirect cap on URLs nobody is hitting. To audit which 404s are worth redirecting, connect Search Console to Fudge, the AI operator for Shopify stores. Broken links are already part of its SEO checks, and you can ask it to "audit our 404s against Search Console traffic and propose redirects only for URLs with backlinks or impressions". It produces a prioritized redirect list for you to approve.

What's the best fallback if I have no equivalent for a deleted product?

Redirect to the most relevant collection. Avoid redirecting to the homepage — Google sees mass redirects to homepage as a "soft 404" pattern and may eventually drop those redirects from indexing. Specific collection pages preserve more value than the homepage and serve users better.

Can I redirect external URLs into Shopify?

No — Shopify URL redirects only work for paths within your store domain. To redirect from an external URL (e.g., your old WordPress site), set up redirects on the source DNS/server level. After migration, point the old domain's DNS at Shopify with a canonical redirect at the registrar or via Cloudflare.

Is there a redirect limit on Shopify?

Yes — 100,000 URL redirects per store, or 20 million on Shopify Plus. Generous for most stores, but reachable for large catalog migrations. To stay under the limit, prioritize redirects for URLs with backlinks or traffic and let truly low-value 404s remain. Use Shopify's bulk import via CSV for efficient bulk additions.

Jacques's signature
Build better Shopify pages by describing what you want.

You might also be interested in

Jacques Blom
Jacques Blom
CTO at Fudge.