TL;DR: Fix Shopify 404 errors by identifying broken links in Google Search Console, then redirecting them via the “URL Redirects” tool in your Shopify admin, and finally re-submitting your sitemap. This removes dead ends for users and recovers lost link equity for SEO.
Step 1: Find the 404s (Don’t Guess)
Log into Google Search Console (GSC) and go to “Indexing” > “Pages.” Filter for “Not found (404)” and export the list. For real-time detection, use a crawler like Screaming Frog (free for 500 URLs) or the “Broken Link Checker” Chrome extension. Shopify’s own “Online Store” > “Themes” > “Customize” does not show 404s—you need external tools. Tip: Check your “404” page’s URL query strings (e.g., ?variant=123)—these often cause false 404s due to product variant changes.
If you want to dig deeper, check out our guide on 10 Tech Gadgets Under $50 That Actually Work.
Step 2: Decide: Redirect or Restore?
Open each broken URL in your browser. If the product or page still exists but under a new handle (e.g., you changed a title), you need a 301 redirect. If the page is permanently gone (e.g., a discontinued collection), redirect it to the nearest relevant category page, not your homepage—homepage redirects dilute topical relevance. If the URL was a misspelled internal link, fix the link in your navigation or blog content instead of adding a redirect.
Step 3: Create the Redirects in Shopify
In your Shopify admin, go to Online Store > Navigation > URL Redirects. Click “Create URL redirect.” In the “From” field, paste the exact broken path (start with a slash, e.g., /products/old-shirt). In the “To” field, enter the full destination URL (e.g., /products/new-shirt). Tip: Use the “Import” button to upload a CSV with columns redirect_from and redirect_to for bulk fixes. Always test the redirect after saving—append a random query string like ?test=1 to ensure it doesn’t loop.
Step 4: Re-Submit Your Sitemap
Once all redirects are live, go to GSC > “Sitemaps.” Re-submit your sitemap.xml (usually at yourstore.com/sitemap.xml). Then request a “Validation” on the 404 errors in the Pages report—Google will re-crawl the URLs. Tip: Add a custom 404 template that suggests top products and a search bar. This reduces bounce rate for any missed links. Finally, set up a monthly automated crawl (using UptimeRobot or similar) to catch new 404s before they hurt rankings.
FAQ
Q: How long does it take for Google to stop showing 404 errors after I redirect?
A: Usually 3–7 days for recrawl, but full removal from the Pages report can take 2–4 weeks. Manually request indexing on the redirect URL in GSC to speed it up.
Q: Should I redirect a 404 to my homepage if I have no similar page?
A: No—use a relevant collection or blog category. Homepage redirects waste link equity and confuse users. If truly irrelevant, let it 404 and fix the internal link instead.
Q: Can I use Shopify apps to auto-redirect 404s?
A: Yes, apps like “SEO Manager” or “Redirectify” can auto-create redirects from your 404 log, but they cost monthly fees. Manual redirects via the built-in tool are free and sufficient for under 500 errors.
Leave a Reply