When does it show?
- Answer
- When a customer tries to visit a link that doesn't exist, such as a product you deleted
- Source page
- Help Center: Templates
Where the Shopify 404 template lives, what you can change in the editor, how to add links and search, and how to check the real status code.
Shopify shows its 404 page when a visitor requests a URL that doesn't exist, using the 404 template in your theme's templates directory. The Help Center says the page has no customizable settings beyond section Custom CSS, so real changes happen in theme code. Shopify's docs don't state the HTTP status, so verify it with curl.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
templates/404.json, in the theme's templates directoryrequest.page_type can be 404In Dawn, templates/404.json just points at a main-404 section, which holds the markup: a translated subtext, a <h1 class="title">, and a button linking to routes.all_products_collection_url. Shopify's developer docs note that with a JSON template, any HTML or Liquid you add must go in a section the template references.
<h1 class="title">Page not found</h1>
<a href="{{ routes.all_products_collection_url }}" class="button">Continue shopping</a>Find the section your 404.json references, in Dawn sections/main-404.liquid, and duplicate the theme first so you can roll back.
Add links to your top collections and a search form to the section, keeping the h1 that says the page wasn't found.
Visit a path you know doesn't exist on the preview theme and confirm the layout, header and links work.
Because Google doesn't index URLs that return a 4xx status code, a correct 404 is a normal outcome for removed content, not an error to hide. The trouble starts when the status and the page disagree, so the curl check below matters more than the page design.
You want the first line to show 404. Shopify's docs I fetched don't state which status the template returns, so this check is the only proof. A friendly page served with a 200 is a soft 404: Google says Search Console will show a soft 404 error for a page that looks like an error but returns a success code, and that it doesn't index URLs that return a 4xx status code. Already indexed URLs that return 4xx are removed from the index.
curl -sI https://your-store.com/this-page-does-not-exist-123 | head -12 questions people ask next, answered from the sources on this page.
Only a little. The Help Center says it has no customizable settings, but you can add section-specific Custom CSS. To add links or search, edit the section that your theme's 404 template references.
Request a nonexistent URL with curl -sI and read the first line. Shopify's docs don't state the status code, and Google flags 200 responses that look like errors as soft 404s.
Run the free audit, then approve the fixes. Every change can be undone.