To fix 404 errors on Shopify, find the broken URLs and add a 301 redirect from each one to the closest live page. You can do this in Online Store → Navigation → URL Redirects, or with a 404 redirect app. Check again after every sale, product cleanup or theme change. Old sale links in emails, ads, and Google will send shoppers to dead pages on your busiest day.
What is a 404 error on Shopify?
A 404 is the “Page not found” screen. Shopify shows it when someone visits a URL that no longer exists in your store.
Common causes on Shopify stores:
- Expired sale pages. Last year’s /pages/black-friday-2025 is gone, but the link still lives in emails and backlinks.
- Renamed handles. You changed /collections/bfcm-deals to /collections/black-friday.
- Deleted or drafted products. The product was removed, but Google still has it indexed.
- Old external links. Influencer posts, ads, affiliate links, and Pinterest pins still point to the old URL.
Why 404 errors cost you sales
Most days, a few 404s are a small leak. During a big sale, they cost you real money.
| Traffic source | What a 404 costs you |
|---|---|
| Paid ads | You pay for the click and lose the sale |
| Email campaigns | Shoppers open old emails days later and hit a dead page |
| Google search | Indexed sale pages send traffic to nothing |
| Backlinks | Link equity stops passing to your store |
| Returning customers | They bookmarked last year’s deals page |
Shoppers in a sale have a dozen tabs open. If your page is broken, they buy from the next tab.
How to find broken links and 404 errors on Shopify
A broken link is any link that sends people to a page that no longer exists. Shopify doesn’t give you a 404 error report or a broken link checker, so you have four options.
1. Google Search Console
- Go to Indexing → Pages.
- Look under “Why pages aren’t indexed.”
- Click Not found (404) and export the list.
This shows what Google found. It doesn’t show what shoppers are hitting right now.
2. GA4
- Open Reports → Engagement → Pages and screens.
- Filter page title for “404” or “Page not found.”
- Add page path as a dimension to see the broken URLs.
It works, but you have to build the report and check it by hand.
3. A Shopify broken link checker app
A Shopify broken link checker like AI Broken Link Manager logs every 404 as it happens. It shows how many hits each URL gets and suggests where to redirect it. That lets you fix the URLs with real traffic first.
4. Crawl your own store
Search Console and GA4 only show URLs that someone already hit. To catch broken links inside your own pages (old menu items, links in product descriptions, blog posts pointing to deleted products), run a site crawler over your store. It follows every internal link and lists the ones that return a 404. Do this after you delete or rename products, change your theme, or rebuild your menus.
How to fix 404 errors on Shopify with 301 redirects
Create a single redirect
- In Shopify admin, go to Online Store → Navigation.
- Click View URL redirects.
- Click Create URL redirect.
- In Redirect from, enter the old path, for example /collections/bfcm-2025.
- In Redirect to, enter the new path, for example /collections/black-friday.
- Click Save redirect.
Bulk import redirects with CSV
- Make a CSV with two columns: Redirect from and Redirect to.
- Use relative paths only (/pages/old), not full URLs.
- Go to URL redirects → Import and upload the file.
- If the import fails, check your email. Shopify sends the detailed error list there.
Why your redirect isn’t working
This is the most common problem merchants hit. Shopify only redirects URLs that already return a 404. If the old page, product, or collection is still live, the redirect does nothing.
The fix:
- Set the product to Draft, or remove it from all sales channels.
- Hide the collection from the online store.
- Delete the old page.
One more catch: if you make that collection visible again, Shopify deletes the redirect automatically. Recreate it if you hide the collection a second time.
How to redirect expired sale pages on Shopify
Where should an expired sale page point?
| Expired page | Best redirect target |
|---|---|
| Last year’s BFCM landing page | This year’s BFCM page |
| Flash sale page | Current live sale, or main collection |
| Renamed sale collection | The new collection URL |
| Sold-out sale product | Its parent collection or a close replacement |
| Old gift guide | Current gift guide or best-sellers |
Don’t send everything to the homepage. Shoppers lose context and leave. Google can treat it as a soft 404 anyway.
Use one evergreen Black Friday URL
Don’t create /black-friday-2024, /black-friday-2025, /black-friday-2026. Use one URL, like /pages/black-friday, and update it every year.
- Backlinks build up on one page.
- No yearly redirect cleanup.
- Last year’s emails still land on a working page.
If you already have dated pages, redirect all of them to the evergreen one now.
Handling renamed sale collections
When you rename a collection, Shopify asks if you want a redirect from the old URL. Tick the box. If you skipped it, add the redirect manually using the steps above.
301 vs 302 redirects for Shopify sale pages
| Element | 301 (permanent) | 302 (temporary) |
|---|---|---|
| Meaning | Page moved for good | Page moved for now |
| SEO value | Passes link equity | Usually doesn’t pass it long term |
| Native in Shopify | Yes | No, needs an app |
| Use for BFCM | Expired pages, renamed URLs | Sending a page to a sale page while the sale runs |
Short answer: use 301 for expired and renamed sale pages. Use 302 only if a page will come back after the sale, and switch it to 301 or remove it when the sale ends.
Shopify 404 redirect app vs manual redirects
| Element | Manual (Shopify admin) | ai-broken-link-manager |
|---|---|---|
| Finds Shopify 404s | No, you need GSC or GA4 | Yes, logs each hit as it happens |
| Shows traffic per broken URL | No | Yes |
| Suggests a target | No | Yes |
| Bulk fixes | CSV only | Yes |
| Time per fix | Minutes per URL | Seconds |
| Best for | A few known URLs | Stores with seasonal pages and lots of products |
Got five broken links? Do it by hand. Got a catalog that changes every season? An app saves you hours before every big sale.
Install ai-broken-link-manager →
Shopify 404 checklist for every sale
4 weeks before the sale
- Export 404s from Search Console.
- Redirect last year’s sale, seasonal and gift guide pages.
- Set up one evergreen sale URL (for example /sale) that you reuse every time.
1 week before
- Click every link in your scheduled sale emails and ads.
- Check that redirects fire (the old product must be draft or deleted).
- Test on mobile.
The day the sale ends
- Redirect flash sale pages to a live collection.
- Don’t leave pages up with an expired countdown timer.
1 week after
- Check new 404s from late email opens.
- Fix the ones with the most hits first.
How to customise Shopify 404 page as a backup
Some 404s will slip through. Make the page useful:
- Add a search bar.
- Show your current BFCM offer.
- Link your top 3 collections.
- Keep the copy short: “This page moved. Here’s this year’s sale.”
Edit it in Online Store → Themes → Customise → 404 page.
What merchants are saying about Shopify 404 Error
Most Shopify merchant complaints are about the same few issues.
“My redirect doesn’t work.” On the Shopify Community, a merchant set up a 301 from an old product to a new one, but the old page kept loading.
The answer from another merchant: Shopify won’t redirect until the old product is deleted or set to draft.
Shopify’s Help Center confirms that redirects only work from broken URLs. (thread)
“Bulk import keeps failing.” Another merchant had 766 404s in Search Console and couldn’t get the CSV to import. The advice was to check the email Shopify sends with the detailed error list, and to use an app for bulk and wildcard redirects. (thread)
“Where should I send removed products?” A merchant who removed personalized products asked if everything should go to the homepage.
The reply: send them to the collection page or a related product instead. (thread)
The takeaway is the same across all of them. Fixing Shopify 404 errors isn’t hard. Finding them and keeping up is the hard part. That’s why it’s worth getting it done before November 27.
Should you redirect every 404 to the homepage?
No. Sending every broken URL to your homepage looks like a quick fix, but Google can treat a redirect to an unrelated page as a soft 404, so the old page's value is not passed on. Shoppers who clicked a product link and land on the homepage usually leave too.
Redirect each broken URL to the closest live page instead: a deleted product to its replacement or its collection, an expired sale page to the current sale or the main collection. Only send a URL to the homepage when nothing on your store is related to it.
FAQs on Shopify 404 error
Q#1. How do I fix 404 errors on Shopify?
Find the broken URLs in Search Console or a 404 app. Then go to Online Store → Navigation → URL redirects and add a 301 redirect to the closest live page.
Q#2. Do 404 errors hurt Shopify SEO?
A few won’t hurt rankings by themselves. But 404s on pages with backlinks or traffic waste link equity and crawl budget, and they lose sales.
Q#3. Does Shopify automatically redirect deleted pages?
Only when you change a URL handle and tick the redirect box. Deleted products and pages don’t get a redirect automatically.
Q#4. Should I redirect 404 pages to the homepage?
No, not by default. Send them to the most relevant page, like the matching collection or the current sale.
Q#5. Why is my Shopify redirect not working?
The old URL is probably still live. Shopify only redirects URLs that return a 404. Set the product to draft or delete the page.
Q#6. What should an expired Black Friday page redirect to?
This year’s Black Friday page. If you don’t have one yet, use a sale collection or your best-sellers.
Q#7. Can I use 302 redirects in Shopify?
Not natively. Shopify’s built-in tool creates 301s. You need an app for 302s.
Q#8. Is there a Shopify app that fixes 404s automatically?
Yes. ai broken link manager detects 404s as they happen and suggests redirects.
