Skip to content
All posts

Shopify 404 page: how to edit it and what to put on it

A glass browser window with a broken mint link and a search bar, above a glass card holding a row of products: a mug, sneakers, headphones and a candle.

By Hanz Sofyan Published 6 min read

Summarize with AI

A 404 page is what your store shows when someone opens an address it doesn't have, such as a deleted product. Every Shopify theme has one. To edit it, go to Online Store, then Themes, click Edit theme and pick 404 page in the top menu. It should show a plain message, a way to search and links to best sellers.

Say you stopped selling a ceramic mug and deleted it. Its link still sits in an old email and a saved pin, and every click now opens a page that says it's gone. What that page shows next decides whether the shopper keeps browsing or closes the tab.

What is a 404 page?

A 404 page is what your store shows when an address leads nowhere, and every Shopify theme comes with one. These are the usual ways a shopper ends up there, starting with the example Shopify's Help Center gives:

  • A product you deleted.
  • A product set to Draft or taken off every sales channel.
  • A collection hidden from your online store.
  • A changed URL handle, the end of a product's address, when you untick the box that adds a redirect.
  • A typo in the link, yours or someone else's.

Shopify answers those addresses with a 404 code, the one search engines expect for a page that's gone.

How do you see your Shopify 404 page?

Open an address your store doesn't have, or pick 404 page in the theme editor. In a browser, type your store's address, a slash and any made-up word, and your 404 page opens. In the theme editor, it's the last entry in the menu at the top that reads Home page.

If the editor jumps to your homepage instead, check your URL redirects for one that sends your 404 page there. Shopify's Help Center says that redirect stops the editor from showing the page, so remove it.

How do you edit the 404 page in Shopify?

Change the 404 page's sections in the theme editor and its built-in words under Edit default theme content, as far as your theme allows. Shopify's Help Center says the 404 page "has no customizable settings". That's true in Dawn and not in Horizon or Vesture.

  1. In your Shopify admin, go to Online Store, then Themes, and click Edit theme.
  2. Open the menu at the top that reads Home page and choose 404 page.
  3. Click a section to see what it lets you change, or click Add section to put a new one on the page.
  4. Click Save, then open a made-up address on your store to check the result.
The Shopify theme editor open on a free theme's 404 page: the left panel lists its sections, and the preview shows a large 404, a short message and a search box.
Pick 404 page in the menu at the top, then click a section to see what it lets you change.

Words such as Page not found are usually built into the theme. To change them, go to Online Store, click the three dots beside your theme and choose "Edit default theme content". Search for the page's words, type your own and click Save. In Vesture, a search for "couldn't find" brings up one row on the "Content" tab, "Not found message", the line under the large 404. Shopify's own example turns Continue shopping into Continue indulging.

The Theme content page in the Shopify admin, searched for couldn't find, with the Not found message row reading We couldn't find that page.
In Vesture, the 404 page's words live here, under Edit default theme content, not in the theme editor.

Each theme gives the 404 page its own page design (Shopify calls it a template), so a custom 404 page starts from what your theme already puts on it:

  • Dawn, a free Shopify theme, shows 404, Page not found and a Continue shopping button that opens all your products. Its one section has no settings, so change the words in Edit default theme content and add a section such as Featured collection under the message.
  • Horizon, also free from Shopify, lets you click the heading, the line and the Continue shopping button to change each one. Four of your products follow under the heading Discover something new.
  • Vesture, a free theme, shows a large 404, the line "We couldn't find that page." and a search box. Its 404 page section has a Back to home link switch, off until you turn it on, and a Hero banner follows it.

A different layout, or a picture behind the words, takes a developer's change to your theme. You pay for their time, and a theme update can undo it.

What should a 404 page show?

The best practice is short: say plainly that the page is gone, then give the shopper ways back to your products. In a store, Google's own advice for a useful 404 page comes down to five things:

  • One clear, friendly line that says the page isn't here.
  • A search box.
  • Links to your best sellers or main collections.
  • A button back to your shop or homepage.
  • A link to your contact page, so a shopper can tell you a link is broken.

Google also suggests that the 404 page keep the same design and menu as the rest of your site. Your theme already keeps your header and menu above the message, because its header and footer show on every page. Neither Vesture nor Horizon lets you add a search section to the 404 page, so keep the search box your theme shows there, as Vesture does, or count on your header's search. Check which of the other four your theme shows, then add the rest as sections where it allows.

Should every dead link go to your homepage?

No. Google says sending removed pages to an unrelated page, such as your homepage, can confuse shoppers and search engines, and it treats those redirects as soft 404s. A soft 404 is an address Google counts as missing even though it loads like a normal page.

When a product is gone for good, Google's help for its Page indexing report says a 404 isn't necessarily a problem, and Google visits that address less and less often. When a close replacement exists, such as a newer version of the product, send the old link there instead.

To send an old link straight to a live page, see Shopify URL redirects.

How do you know shoppers are landing on your 404 page?

Google Search Console lists the dead addresses Google finds, and an analytics tool can count the shoppers who land on them. In Search Console, open the Page indexing report and look under Not found (404).

In Sledge Analytics, the Surfaces tab has a card titled 404 page. It shows sessions, searches that led to a click, the share who left without searching and the share who arrived from an old link. When a week brings at least 50 visits to that page, and at least 50% more than a usual week, the Signals tab shows More broken links. That signal tells you to add redirects for the links people use.

On the Journey tab, a visit can be flagged "Landed on a broken link", with the address it tried, which can help you find the broken links your ads still use. The 404 page also shows up among the pages where visits end.

The Where customers drop off card in Sledge Analytics on a test store, listing the pages where visits ended, with the 404 page among them.
On a test store, the 404 page shows up as one of the pages where visits end.

Sledge is a Shopify app whose product recommendations include a "404 / Not Found Page" placement, on every Sledge plan. Pick Best Seller, Trending or New Arrivals for it, because Related Products and Frequently Bought need a product to start from. The row shows under your theme's own 404 content.

Sledge's recommendation editor with 404 / Not Found Page switched on under Surfaces, beside a preview of a Page not found message with a row of trending products under it.
Sledge can show a row of best sellers, trending products or new arrivals under your 404 message.

FAQ

Questions, answered

  • 14-day free trial

    Explore Sledge on your store before you decide to commit.

  • No credit card required

    Start improving your store with no upfront commitment.

  • Setup in minutes

    Get Sledge running without a lengthy setup process.

  • Built to grow sales

    Turn shopper behavior into actions that help you sell more.

How do I edit the 404 page in Shopify?

In your Shopify admin, open Online Store, then Themes, and click Edit theme. Pick 404 page from the menu at the top that reads Home page. Click a section to change it, or Add section to put one under it, then click Save. Built-in words, such as Page not found, may sit under Edit default theme content instead.

Why does my Shopify product link show a 404 page?

Shopify shows the 404 page when a product is deleted, set to Draft or taken off every sales channel, and when a collection is hidden from your online store. A changed URL handle, the end of the product's address, does it too if you untick the redirect box, and so does a typo in the link.

Does a 404 page hurt SEO?

Not when the page is really gone. Google says a 404 is not necessarily a problem when a page was removed with no replacement, and it visits those addresses less often over time. The trouble is a page that says not found but loads normally, which Google calls a soft 404. If a close replacement exists, redirect to it.

Should I redirect my 404 page to my homepage?

No. Google treats removed pages sent to an unrelated page, such as your homepage, as soft 404s, and says to redirect only to an equivalent replacement. Shopify adds a second reason: a URL redirect from your 404 page to your homepage stops the theme editor from showing that page. Redirect an old link only when a close replacement exists.

Can I add products to my Shopify 404 page?

Yes. Horizon's 404 page already shows four products from your store under the heading Discover something new. In Dawn, add a section such as Featured collection under the message. Sledge, a Shopify app, can also show a row of best sellers, trending products or new arrivals on your 404 page.

Shoppers hit your 404 page. What do they see next?

Sledge doesn't change your theme's 404 message or make URL redirects. Try it free for 14 days to show best sellers, trending products or new arrivals on your 404 page, and see in Sledge Analytics how many visits reached it. Growth Intelligence turns on when you pick a paid plan, and its suggested fixes add up to one dollar figure, labeled Est. potential.