Home Blog SEO
SEO

Shopify 404 pages: detect, redirect and reduce their SEO impact

A poorly managed 404 on Shopify loses traffic and authority. How to detect 404s, decide when to redirect, and improve the error page.

Lionel Fenestraz · 8 July 2026 · 10 min read · Updated: July 2026
Custom 404 page on a Shopify store showing links to main collections
In this article

A 404 page on Shopify isn’t a technical error — it’s a leak point for traffic, authority and conversion. When a product gets deleted, a collection changes handle, or a campaign links to an old URL, what the user (and Google) sees is a 404. Without active management, every deleted URL becomes a bleeding wound for rankings and backlinks.

This guide covers how to detect 404s in a Shopify store, when to redirect and when to let the URL die, how to design a 404 page that retains the user, and the errors I see most often in audits.

In 30 seconds:

  • Google reads a 404 as “this URL no longer exists” — fine when intentional, but undue 404s cost rankings and backlinks (Google Search Central, 2025)
  • Shopify generates 404s automatically; the 404 page content is editable via templates/404.liquid or the theme editor
  • 3 detection sources: Search Console (Page indexing report), Screaming Frog, and Shopify Analytics (“Behavior” section)
  • Key decision: if the URL had backlinks or traffic, 301 redirect to the most relevant URL; if it had nothing, leave 404 and improve the error page
  • Soft 404 (a real page with content that Google treats as 404) is more dangerous than an explicit 404: it means your empty collection or out-of-stock product is being indexed as “not useful”

Why do 404 pages matter for Shopify SEO?

Three concrete consequences of having unmanaged 404s in a store:

Authority loss from broken backlinks. If you had a blog post or product that external backlinks pointed to, and you delete that URL without redirecting, the backlinks “die”. All the authority that URL had accumulated is lost. For stores with stable catalogues, not a problem. For stores with high product rotation (fashion, electronics), you lose authority continuously.

Bad user experience and direct revenue loss. A user landing on a 404 from Google or an email has a 30-50% higher bounce probability compared to a similar product page. In stores with campaign traffic (Google Ads, Meta Ads), a 404 after the click is literal money lost — you paid for the click and the user bounced.

Wasted crawl budget. Google assigns a “crawl budget” to each site. If Google finds 500 404 URLs, it’ll crawl them several times before giving up. That crawl budget could be used to discover new URLs or re-crawl ones that matter. For stores with 10,000+ products, this point matters; for stores with 200 products, less so.

To understand how 404s relate to the sitemap (zombie URLs) and canonicals, Shopify SEO for ecommerce 2026 covers all three as an integrated system.


How do I detect all 404 pages on my Shopify?

Three complementary sources, each with limitations the others cover. Starting with Search Console is cheap and useful; the other two methods are for deeper audits.

Search Console: Page indexing report. Go to GSC > Indexing > Pages. Filter by “Not found (404)” in the dropdown. You’ll see the list of URLs Google found as 404s in the last 90 days, along with detection date. For each URL, GSC indicates whether it had external backlinks — that’s the first filter for deciding which to redirect.

Screaming Frog crawling from your home finds internal 404s — URLs your own site links to but that no longer exist. This is different from what GSC sees because GSC finds 404s third parties link to, not necessarily your own. Configuring Screaming Frog to crawl as Googlebot and filtering by status 404 gives you the full inventory of internal breakage.

Shopify Analytics (Behavior > Top URLs visited section). Filter by sessions where the behaviour is “viewed 404”. This shows real 404s generating traffic — they’re the most urgent to redirect because real users are landing there right now. Unlike GSC, this includes traffic from paid campaigns and direct referrals.

Quick command to manually validate a handful of suspect URLs:

for url in url1 url2 url3; do
  curl -s -o /dev/null -w "%{http_code} $url\n" "$url"
done

When to redirect a 404 and when to let it die?

The question isn’t “should everything redirect?” but “what to redirect and where?”. Three objective criteria:

404 on Shopify: redirect or let it die? Decision based on the URL's value signals Did the URL have value? Yes No 301 to the most relevant URL Backlinks · traffic · campaigns Leave as 404 No traffic · never indexed Never redirect everything to the home Google treats it as a soft 404; use a thematically relevant URL or don't redirect

Redirect with 301 if the URL meets at least one of these conditions:

  • Had external backlinks (GSC > Links report tells you per URL)
  • Had significant organic traffic in the last 12 months (>50 visits/month)
  • Was in active Google Ads, Meta Ads, or email marketing campaigns

Leave as 404 if:

  • Was a temporary or test product without traffic
  • The URL was never indexed by Google
  • There’s no equivalent destination URL (i.e., redirecting to the home or a generic collection worsens UX)

Special case — permanently out-of-stock products: if product X was discontinued and product Y exists as the natural substitute (same category, function, price), 301 X → Y. If there’s no substitute, leave 404 with a clear “this product is no longer available, see similar category” message. Redirecting to the home is the most common mistake and is worse than not redirecting.

In Shopify, redirects are configured in Online Store > Navigation > URL Redirects. For mass deletes (catalogue cleanup), a two-column CSV upload (from / to) accelerates things a lot. I covered this in more detail in Shopify redirects.


How do I customise and improve the Shopify 404 page?

The default Shopify 404 page is functional but generic: it shows “404 Not Found” and a link to the home. That misses the chance to retain the user. A well-designed 404 page has 4 elements:

Honest recognition of the error. “The page you’re looking for is no longer available” is better than “404 Error” — the user understands what happened without feeling at fault.

Strategic links to recover the user. Top 3-5 collections, a search field, and a blog link if your blog drives discovery intent. For stores with many similar products, a dynamically pulled “Popular products” section is most effective.

Call to human contact. A link to “contact” or chat reduces loss when the user had a specific intent and the broken URL was important to them.

The theme template is in templates/404.liquid. The basic structure I recommend in Liquid:

<h1>The page you're looking for isn't available</h1>
<p>It may have moved or the URL may have changed.</p>

<h2>What can you do?</h2>
<ul>
  <li><a href="/">Back to home</a></li>
  <li><a href="/collections/all">Browse all products</a></li>
  <li>Use the search bar at the top</li>
</ul>

<h2>Popular collections</h2>
{% for collection in collections limit: 4 %}
  <a href="{{ collection.url }}">{{ collection.title }}</a>
{% endfor %}

Important: the 404 page must still return HTTP code 404 (not 200). Shopify gets this right by default, but some misconfigured themes return 200 with “404 not found” content — that’s a soft 404 and Google penalises it.


What causes most 404s on a typical Shopify store?

Five causes I see repeated in every audit. Recognising them helps prevent the problem rather than just react to it.

The first is deleted products without redirect: the client deletes a discontinued product from the panel and the URL dies. For stores with high rotation, this is the source of 50-70% of 404s. Solution: an internal protocol so any deletion goes through a “redirect or let die” decision rather than a quick click on the delete button.

The second is handle changes. If you rename a product and Shopify assigns it a new handle, the old URL becomes a 404. Shopify creates an automatic redirect in some cases, but not always. Always audit handle changes with a crawl 24-48h later.

  • Automatic collections that empty out. A collection based on a tag that no longer exists. The URL persists but the content disappears.
  • Apps that change URL structure. Apps like Shogun, PageFly, or Bold can change URL structure when uninstalled. Audit 7 days after uninstalling any major app.

The fifth and most subtle: migration from another CMS without a redirect map. If you migrated to Shopify from WooCommerce or Magento without a complete map of old URL → new URL, you have hundreds of 404s receiving old organic traffic and you’re not recovering it.


How do I monitor 404s continuously without auditing manually each month?

Three automation levels, each with its own cost:

Level 1 (free): Search Console + email alerts. GSC sends emails when it detects “Page indexing issues” spikes. Setting up alerts for “Not found (404)” gives early signal when something breaks (an uninstalled app, a migration, a mass change).

Level 2 (Shopify app): apps like Smart SEO or Plug in SEO monitor 404s automatically and warn when new URLs appear. Typical cost: $10-30/month. Useful for clients without time to look at GSC.

Level 3 (custom + API): a script that crawls the sitemap daily and verifies HTTP status of each URL. For stores with 5,000+ products where an App Store app doesn’t scale, this is the way. I covered it in the context of broader audits in Shopify technical SEO audit.


Frequently asked questions

How long should I wait before redirecting a 404?

For URLs that had organic traffic, redirect as soon as possible. For URLs without traffic or backlinks, no urgency — Google will remove them from the index naturally in 4-8 weeks. A good rule: review the GSC report every 30 days and redirect what has value signals (backlinks, traffic, keyword positions).

Is 301 or 410 better for discontinued products?

Depends on context. 301 if there’s a natural substitute product — transfers authority and improves UX. 410 (“Gone”) if you want to tell Google explicitly the URL won’t return; Google processes it faster than 404 and removes the URL from the index sooner. Shopify doesn’t expose 410 natively, but advanced redirect apps or a customised robots.txt.liquid allow it.

How does a 404 page affect my entire store’s ranking?

A one-off 404 doesn’t affect site ranking. But high volume of 404s (>5% of URLs discovered by Google) generates negative quality signals. What penalises most is the “soft 404”: a page that returns HTTP 200 but with “not found” or empty content. Google detects it and treats the site as low-quality.

Should I redirect all old URLs to the home?

No. Redirecting everything to the home is worse than leaving 404. Google treats that behaviour as “soft 404” and stops processing mass redirects. Each redirect should go to a thematically relevant URL or not redirect at all.

Do premium themes have better 404 management?

Marginally. Dawn and most Online Store 2.0 themes include a reasonable 404 page. Premium themes (Impulse, Symmetry, Prestige) typically have more polished design but underlying logic is the same. What differentiates is what you add via templates/404.liquid.

How do I know if Google is penalising a 404 before it affects my rankings?

In Search Console > Coverage, check if the URL appears as “Excluded — Not found (404)”. If the URL had rankings previously and disappears from search results, that’s the first indicator. Impression drop for a specific URL is the earliest signal in GSC.


Sources

  1. Google Search Central. HTTP network errors and DNS issues. https://developers.google.com/search/docs/crawling-indexing/http-network-errors. 2025.
  2. Google Search Central. Soft 404 errors. https://developers.google.com/search/docs/crawling-indexing/http-network-errors#soft-404-errors. 2025.
  3. Shopify Help. URL redirects. https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect. 2025.
  4. Google Search Central. Page indexing report. https://support.google.com/webmasters/answer/7440203. 2025.
  5. Screaming Frog. Find broken links (404 errors). https://www.screamingfrog.co.uk/seo-spider/tutorials/how-to-check-broken-links-with-the-seo-spider/. 2025.

Is Search Console flagging dozens of 404s on your Shopify and you don’t know which to redirect and which to leave? I offer Shopify technical SEO audits — complete 404 analysis with prioritisation (backlinks, traffic, impressions) and redirect plan. 30 minutes initial call, no commitment.

Lionel Fenestraz — Freelance Google Ads & Meta Ads Consultant
Lionel Fenestraz
Freelance PPC & CRO Consultant · Google Partner · CXL Certified · Google Ads Search Certified
7+ years managing Google Ads and Meta Ads for vacation rental, B2B and ecommerce. Trilingual ES/EN/FR.
Free first call

Could your ad campaigns
perform better?

30 minutes to review your situation and tell you exactly what I would change. No pitch, no sales proposal.

Book a call →
30 min · Google Meet · No commitment