How to fix a deleted product 404 in Shopify
Delete a product and its old address starts showing a 404 page. Here is how to find every one and send visitors somewhere useful.
Why a deleted product leaves a 404
Shopify does not redirect a deleted product on its own. Its address still lives on in search results, bookmarks, emails and links on other sites, and visitors who follow it land on a 404 page. The same happens when you delete a collection, page or blog post, change a handle, or unpublish or archive a product.
The fix is a URL redirect from the old address to a page that makes sense. The hard part is knowing which addresses went missing. Once Store Monitor is installed, it keeps a list of what was live and tells you what dropped out.
How common is this? We checked the homepage links of 66 Shopify stores and 5 had one that returns a 404: Dead links on Shopify stores.
What Shopify does and does not redirect, tested case by case: Shopify URL redirects.
Set it up
Open Store Monitor in your Shopify admin, then Settings.
- Send emails to: type the address that should get the email. The app never fills it in for you.
- Check at (shop time): the hour of the daily check.
- Scan links: every week, every 2 weeks, or never. This is for links inside your content. Lost pages are checked every day either way.
The first check saves a baseline: the addresses that exist today. A page can only be lost after the app has seen it live, so the first day shows no lost pages, and pages deleted before the first check are not on the list.
Find the pages that went missing
The Lost pages section on Home lists every address that was live and is not now, with the reason:
- Deleted: you deleted the product, collection, page or blog post. The app is told when a product is deleted, so it shows in the app at once. The daily check covers the rest.
- Address changed: the handle changed, and the old address no longer works.
- Unpublished or archived: the item still exists but visitors cannot reach it.
A page is listed only if nothing already redirects it, including redirects you made yourself. The app reads this from Shopify's own data, not by loading your pages, so it also works while your store is password protected. A product counts as live only when it is active and published to your Online Store, so deleting a product that was never published does not create a lost page.
Changed something since the last check? Press Check now.
Redirect each one
Every lost page comes with a suggested place to send visitors, already selected:
- A page whose address changed goes to its new address.
- A deleted product goes to a collection it sat in, if that collection is still live.
- A blog post goes to its blog.
- Otherwise the suggestion is your home page. It is labelled as such, because search engines may treat a redirect to the home page as a soft 404. It is never part of the bulk button, only per row.
For each row you can:
- Create redirect: creates the redirect in Shopify with the suggested target.
- Change: pick another page from your store (search by title or address), or type an address on your store. Other websites are not allowed.
- Ignore: the page is not listed or emailed again.
A button above the table creates the suggested redirects for up to 50 lost pages at once, each with its own suggested target. If you have more, click again. Nothing is redirected until you click, and creating redirects is the only thing the app ever changes in your store. Redirects you create stay in your Shopify admin, even if you uninstall.
Hear about new ones by email
Try Send test email on Home first. After that, you get at most one email a day, only when something new is found. A problem is emailed once. If one fixes itself, for example a redirect appears in Shopify, the next email says so in one line.
Limits
- Up to 5,000 page addresses per store. A bigger store is refused rather than part-checked.
- It needs the Online Store sales channel.
- It does not watch whether your site is up or fast.
- No customer data is read.
Help
Write to hello@cartkept.com. We reply within one business day. Please include your shop's domain and the address in question. See Privacy for what the app stores.