NAVEGaid
Empty wooden clothes hangers on a lit rail

Shopify 404 Errors: Why They Happen and How to Fix Them

AuzanDeveloper

Published on

6 min read

A Shopify 404 error means someone asked for a URL your store doesn't have anymore. It's usually a deleted or drafted product, a changed handle, or an old link from an ad, email or another site. You fix it with a URL redirect. When we drafted 7 products on one store, it took 8 redirects to keep every old link working.

What does a 404 error mean on Shopify?

A 404 is the "page not found" your store shows when a URL has no page behind it.

It really doesn't mean your store is broken or anything. That one particular address just doesn't lead anywhere anymore.

The problem is where the visitor came from. They clicked something that promised a product and got an error instead. If that click was a paid ad, you paid for it.

Where do Shopify 404 errors come from?

Most 404s on a Shopify store come from changes made in the admin. The old URL is still out there, but the page isn't.

  • Drafted products. Anyone who opens a draft product's URL gets a 404 until it's active again. This is the one we see most.
  • Redirects with a typo. On one store, 8 redirects pointed at mistyped product URLs, so they still ended on an error page.
  • Deleted products and collections. Shopify doesn't redirect them for you.
  • Changed handles. Shopify offers a redirect when you change a product or collection URL, but only if the box is ticked.
  • Old campaigns. Ads, emails and social posts keep the URL they had when you made them.
  • A migration. Moving from another platform changes most URLs at once.
  • Links inside your own store. Menus, buttons and blog posts that still point to a page that's gone. That's its own topic, covered in Shopify broken links.

How do you find 404 errors on your Shopify store?

You find 404s in two ways: from what Google has seen, and by checking the store yourself.

Google Search Console lists the URLs Google couldn't find under Pages > Not found (404). It shows what's been indexed or linked from outside, but only after Google has crawled it.

A crawler checks your store now, before a shopper or Google finds the problem. Our free Shopify QA Scanner checks up to 40 pages for broken links and 404s, plus slow pages and missing SEO tags. It's read-only, and you see the score and the counts without giving us your email.

How do you fix a 404 on Shopify?

You fix a 404 by adding a URL redirect from the dead address to the page that should replace it.

  1. In your Shopify admin, go to Content > Menus and open URL redirects.
  2. Click Create URL redirect.
  3. In "Redirect from", enter the old path, like /products/old-name.
  4. In "Redirect to", enter the new page, like /collections/new-arrivals.
  5. Save, then open the old URL to check it lands in the right place.

For a lot of URLs at once, like after a migration, use Import on the same screen. It takes a CSV file, and Shopify gives you a template (Shopify Help Center).

Should you redirect every 404?

No. Redirect the 404s that people or Google can still reach, and leave the rest.

If you are thinking of sending every 404 to the homepage, don't do it. The shopper wanted a product, and the homepage makes them start all over again. Send each old URL to the closest match instead.

SituationRedirect?Where to
Product removed for good, still linked or searchedYesThe closest collection or a replacement product
Product drafted for a whileYesIts collection or a "coming soon" page
Handle changedYesThe new URL
Old campaign or email linkYesThe page the campaign is about now
A URL that never existed (a typo, a bot guessing)NoLeave the 404
Every 404 at once, all to the homepageNoSend each one to its closest match instead

On Shopify, a redirect only works while the old URL is a 404. If you bring a drafted product back, its own page shows again.

What we check after drafting or deleting products

Removing products is where most 404s start, so we do it in a fixed order.

On one store, we set 7 products to draft.

The owner wanted the shop to focus on one particular product line for now, so everything else went offline. Without redirects, every old link to those 7 products would have ended on an error page, including a button on the homepage.

We added 8 redirects, so each old link now opens its closest collection or a "coming soon" page. Then we fixed what pointed at them inside the store. A homepage button opened one of the drafted products, so we pointed it at one that's still live. The "You may also like" sections would have shown empty cards, so we made them fall back to live products.

Lastly, we ran a link check over the whole site: 477 pages, no broken links. We check last because every fix before it changes the result.

What should your Shopify 404 page show?

Your 404 page should get the visitor back to shopping in one click.

Just keep it short: a search box, links to your main collections and a way to contact you directly.

It should also return a real 404 status. A page that says "not found" but loads like a normal page can be reported by Google as a soft 404 (Google's documentation).

Frequently asked questions

Do 404 errors hurt my Shopify SEO?

Google drops pages that return a 404 from its index. That's what you want for a page you removed on purpose. It matters when the dead URL had links from other sites, ranked in Google or gets paid traffic. Those are the ones to redirect.

Where should a redirect point?

To the page closest to what the visitor wanted: the replacement product, or the collection it was in. A redirect to the homepage makes the shopper start all over again.

How do I stop 404s from coming back?

Tick "Create a URL redirect" every time you change a handle, and add a redirect before you delete or draft a product. Redirect management is part of our SEO Professional plan if you'd like us to handle it.

Next step

Run the scanner above to see which pages on your store return a 404. If you're also seeing low sales, our post on why an ecommerce website isn't generating sales covers the other usual reasons. Not sure where to start? Book a free call and we'll look at your store together.

Share This Article
Auzan

About the Author

Auzan

Developer

Full-stack developer at NAVEGaid, building high-performance e-commerce stores and web applications with modern technologies.

NAVEGaid Shopify development experts ready to help your business grow

Ready to Build a Digital Business Around What You Do Best?

Tell us about your idea or project and let's create a digital setup that supports your goals, not the other way around.