A 404 error means a visitor asked for a page and your store had nothing to show them. The product was deleted, the page was renamed, or a link points somewhere that no longer exists. The visitor sees a dead page, and Google eventually drops the URL from its index.
On Shopify, fixing a 404 is a redirect job, not a coding job. Shopify has a built-in URL redirects tool that sends the old address to a live page with a permanent 301 redirect. This guide shows how to find every 404 on your store, fix each one, and stop new ones from appearing.
The short answer
Find your 404s in Google Search Console under Pages, then Not found (404), or with a crawl of your store. For each broken URL, create a 301 redirect in your Shopify admin under Online Store, then Navigation, then URL Redirects, pointing the old path to the closest live page. Then fix the links that point at the old URL so visitors stop hitting the redirect in the first place.
That is the whole fix. Everything after this section is detail: where the 404s hide, how to choose the right target for each one, how to fix hundreds at once, and the mistakes that create new 404s while you are fixing the old ones.
What a 404 error costs your store
The first cost is the sale. A shopper who clicks a product link from Google, an ad, or an email and lands on a dead page usually leaves. They do not search your store for the replacement product. They go back to Google and buy from someone else.
The second cost is the ranking. A URL that returns a 404 loses the position it held in search results. If that page had backlinks, their value is wasted too, because the links point at a page that no longer exists.
The third cost is trust. A store full of dead pages looks uncared for, and shoppers notice. A few 404s are normal on any store, because products get deleted and pages get renamed. The problem is volume, and the problem is 404s on URLs that had traffic, rankings, or links pointing at them.
How to find every 404 on your Shopify store
Shopify has no built-in 404 report, so you need one of three methods. Start with Google Search Console, because it is free and it shows the URLs Google actually tried to reach. Open the Pages report and look under Not found (404). Those are URLs Google crawled and found missing.
The second method is a crawl of your own store. A tool like Screaming Frog crawls every page and link, and you filter the results by 404 status codes. The free version covers up to 500 URLs, which is enough for most small stores. A crawl finds broken internal links too, not just the URLs Google already knows about.
The third method is a 404 tracking app from the Shopify App Store. These log every 404 as a real visitor hits it, with a hit count per URL, so you can see which broken pages still get traffic. That hit count is how you decide which 404s to fix first.
Use all three if you can. Search Console shows what Google sees, a crawl shows what your own site links to, and an app shows what real visitors hit. Together they give you the full list.
Step 1: Decide what each broken URL should become
Before you create a single redirect, decide the target for each broken URL. The rule is simple: send it to the closest live page. A deleted product goes to its replacement product. If there is no replacement, it goes to the collection the product belonged to. If there is no fitting collection, it goes to a closely related page.
The homepage is the last resort, not the default. Sending every broken URL to the homepage confuses shoppers and Google may treat a pile of homepage redirects as soft 404s, which means the problem is not really fixed. Our guide to migrating from WooCommerce to Shopify uses the same rule for its redirect map, and it applies just as well here.
Some URLs need no redirect at all. If a URL was a typo, a junk address, or a test page with no links and no traffic, leaving it as a 404 is the correct answer. A 404 is a valid response for a URL that never existed. Fix the ones that matter: URLs with traffic, rankings, or backlinks.
If the product or page is coming back, restore it instead of redirecting. A restored page keeps its old URL, its rankings, and its links. A redirect is for pages that are gone for good.
Step 2: Create a 301 redirect in Shopify
In your Shopify admin, go to Online Store, then Navigation, then URL Redirects. In the newer admin the same tool sits under Content, then Menus, then URL Redirects. Click Create URL redirect.
Fill in two fields. In Redirect from, enter the old path starting with a slash, for example /products/blue-hoodie-old. In Redirect to, enter the new path, for example /products/blue-hoodie, or a full address if the new page lives on another domain. Click Save redirect. The redirect starts working right away.
Then test it. Open the old URL in a browser. It should send you to the new page. If you want proof rather than a feeling, check the old path with a status checker: it should return a 301 pointing at the new address, and the new address should return a 200. First Pier's Shopify 301 redirect guide walks through the same steps with screenshots.
One catch to know before you start: Shopify only follows a redirect when the old path returns a 404. If a live page still uses that path, the store shows the page and ignores your redirect, even though it looks saved in the admin. Delete or rename the old item first, or the redirect will appear to do nothing. Redirects also cannot use reserved paths such as /apps, /cart, or /orders.
Step 3: Fix many 404s at once with a CSV import
Creating redirects one by one is fine for a handful of broken URLs. For dozens or hundreds, import them in bulk. Make a CSV file with two columns, Redirect from and Redirect to, one row per pair, with both paths starting with a slash. In the URL Redirects screen, choose Import and upload the file.
Check every target before you import. Open each destination and confirm it returns a 200. A redirect to a missing page just moves the 404 from one address to another, and you will be fixing the same problem twice.
Shopify allows up to 100,000 URL redirects on a standard plan, and 20 million on Shopify Plus, so the limit is not something most stores will ever hit. What the built-in tool does not support is wildcard redirects, so a pattern change across many URLs needs one row per URL, or a redirect app that supports pattern rules.
Step 4: Fix the broken links at the source
Redirects are a safety net, not a full solution. Every redirect is an extra hop between your visitor and the page they wanted, so the real fix is to update the links that point at the old URL. Go through your menus, banners, blog posts, collection descriptions, and any hardcoded links, and point them at the live page directly.
External links need the same thinking. A broken backlink report from a tool like Ahrefs shows other sites linking to your dead pages. You cannot edit those links yourself, but the redirect catches the traffic, and for the links that matter most it is worth emailing the site owner and asking them to update the address.
Internal links are fully in your control, so fix all of them. A store whose own navigation and blog posts link to live pages, with redirects only as a backup for old bookmarks and search results, is a store that has actually fixed its 404s rather than papered over them.
The handle-change checkbox: the 404 you create yourself
Most Shopify 404s are not caused by deletions. They are caused by renames. When you edit the URL handle of a product, page, collection, or blog post in the search engine listing section, Shopify offers to create a redirect from the old address to the new one. The checkbox is ticked by default. Leave it ticked.
If you untick it, the old URL returns a 404 the moment you save, and every link, ad, and bookmark pointing at the old handle breaks at once. The prompt only appears at the moment you change the handle, so if you miss it, you have to add the redirect by hand later, assuming you still remember the old handle.
Deleting a product is different: it creates no redirect at all. The URL returns a 404 straight away. So decide where a deleted product's URL should point before you delete it, and add the redirect in the same session.
What not to do with 404s
Do not redirect everything to the homepage. It feels like a fix, but shoppers land somewhere they did not ask for, and Google may treat mass homepage redirects as soft 404s. Send each URL to its closest live match.
Do not redirect a live page. Shopify ignores redirects for URLs that still load, so the rule will sit in your admin looking correct while doing nothing on the storefront. If a URL still loads, either keep the page or delete it first.
Do not build redirect chains. If a URL was redirected once and the target moved again, point the original URL directly at its final destination. A chain of two or three redirects slows the page down and leaks the ranking value you were trying to save.
Do not use a redirect to hide a page that should not exist. If a page is gone and nothing replaces it, let it return a 404, and remove it from your sitemap and internal links. A clean 404 is better than a redirect to an unrelated page.
How to customize your 404 page
Even a well maintained store will have some 404s, from mistyped URLs and old links you cannot control. Shopify themes include a 404 template, so you can make the dead end useful instead of blank. Add a search box, links to your best sellers and main collections, and a clear path back to shopping.
Keep it simple. One search box, a few popular links, and a short line telling the visitor the page is gone. A helpful 404 page does not fix the error, but it keeps some visitors from leaving, and on a store that is the difference between a lost sale and a recovered one.
Do not treat the 404 page as the fix itself. A pretty 404 page with a hundred broken URLs behind it is still a store full of broken URLs. Customize the page after the redirects are done, not instead of them.
How long until Google stops reporting the 404s?
After you add the redirects, Google needs to recrawl the old URLs before it drops them from the 404 list. That takes days to a few weeks, depending on how often Google crawls your store. You do not need to request indexing for every redirected URL. The redirects do the work, and Google picks them up on its normal crawl.
Check the Pages report in Search Console again in two weeks. The 404 count should be falling, not growing. If new 404s keep appearing, something is still creating them: a bulk product deletion, a theme change, or an app writing bad links. Find the source and stop it, or you will be fixing 404s forever.
One more thing to watch: your sitemap. Shopify generates it automatically, and it should only list live pages. If a deleted URL is still in your sitemap, remove the page from your store properly so the sitemap updates, and Google will stop wasting crawl time on it.
How much does it cost to fix 404 errors on Shopify?
Nothing, if you do it yourself. The URL redirects tool is free and built into every Shopify plan, and the finding tools are free too: Search Console costs nothing, and a crawl of a small store fits in the free version of Screaming Frog. A small store can be fixed in an afternoon. A large catalog with hundreds of broken URLs takes longer, but the tool itself never charges you.
If you would rather have someone else do it, the work is usually bundled into a technical SEO engagement. Our technical SEO sprints start from $350, and an SEO audit starts from $200 one time. Either one includes a full crawl of the store, a redirect map for every broken URL, and a check that each redirect works, because a redirect that points at another dead page is worse than no redirect at all.
Be wary of anyone charging a large fee for a handful of redirects. The clicks take minutes. What is worth paying for is the finding and the mapping: knowing which 404s matter, where each one should point, and whether the fix actually worked.
Frequently asked questions
Does Shopify automatically create redirects when I delete a product?
No. Deleting a product creates no redirect, so its URL returns a 404 straight away. Add the redirect yourself, in the same session if you can, before the deleted URL starts collecting broken links.
Does Shopify automatically redirect a changed product URL?
Only if you leave the redirect checkbox ticked when you save the new handle. The checkbox is ticked by default, so most handle changes are covered. If you untick it, no redirect is created and the old URL returns a 404.
Can I redirect a 404 to my homepage?
You can, but you should not do it for every broken URL. Send each old URL to the closest live page: the replacement product, then the collection, then a related page. Mass homepage redirects can be treated as soft 404s by Google.
Why is my redirect not working?
Two common reasons. First, a live page still uses the old path, so Shopify ignores the redirect. Delete or rename the old item first. Second, the path uses a reserved prefix such as /apps, /cart, or /orders, which cannot be redirected. Check both before you assume the tool is broken.
How do I find 404 errors on Shopify?
Use Google Search Console and look under Pages, then Not found (404). Crawl the store with a tool like Screaming Frog to find broken internal links, or install a 404 tracking app that logs broken pages as real visitors hit them.
Do 404 errors hurt my Shopify SEO?
A few 404s are normal and do not hurt a store. The damage comes from 404s on pages that had rankings, traffic, or backlinks. Those are the ones to redirect first, because each one is a lost visitor and a lost ranking at the same time.
