Blog / Technical SEO /

How to audit HTTP status codes in a store catalogue

You export the catalogue URLs and run a crawl. The result is a mess: 200s, 301s, 404s, a few 500s. Panic is optional. Not every non-200 is a problem.

A discontinued product might correctly return a 404 or a 410. A broken internal link pointing at it is the real fault. Auditing status codes means understanding what each response represents before you change the catalogue or the redirect rules.

Collect and classify URLs

Crawl product, collection and content URLs, keeping the status, the final destination and the source link. Separate current pages from historical links and parameter URLs. A crawler only sees the paths it can discover, so compare its list with your sitemaps, feeds and catalogue exports. And don’t treat every non-200 as an error. When I audit a Shopify store, the sorting comes before the fixing.

Check intent and destination

A redirect suits a product with a genuinely similar replacement. A retired product with no replacement may need different handling. Investigate server errors and loops quickly: confirm they’re repeatable, and work out which layer returns them. Fix internal links so they point directly to current destinations.

Make the audit repeatable

Save the crawl date and scope, and retest after catalogue changes. A one-off audit goes stale; a repeatable one becomes a habit.

A tidy way to classify is a four-column sheet: URL, status, what it should do, and action. The third column forces the question “what is this page for?”, which is the heart of the audit.

Don’t rush to bulk-redirect every 404 to the homepage. That hides real problems and confuses shoppers, who land somewhere unrelated. A specific replacement or an honest error page is better.

A quick way to start

Export your URLs, crawl them, and sort by status. Start with 5xx, because they are the most urgent. Next, look at 404s that still receive internal links. Then check redirect chains and loops. Leave the 301s to current pages until last.

Make a note of the crawl date so you can compare next time.

Mistakes to avoid

Don’t redirect everything to the homepage. It hides real problems.

Don’t leave internal links pointing at redirected URLs. Update them to the final destination.

Don’t ignore parameter and duplicate URLs. They can inflate your error list and distract from the real issues.

A worked example

Say an export shows two hundred 404s. Looking closer, a hundred and twenty are old products with no inbound links and no traffic. They’re correct 404s, and nothing needs doing. Forty are products whose URLs changed in a past migration, and they still have links in the blog. Those need redirects or updated links. Thirty are typos in internal links, and ten come from an old app that still outputs them.

Same status code, four different causes and four different fixes. That’s why you classify before you act. A raw count of 404s tells you very little; a count by cause tells you what to do.

Keep the sorted sheet. Next time, compare against it and you’ll see quickly what’s new.

Make the review reusable

Write down the decision the audit needs to support and the evidence that could change it. “Audit the status codes” is too wide to finish.

Say a retired blender still has a 301 to the “kitchen appliances” collection. That might be fine. If the only reason is that the old URL has links, it’s a reasonable choice. If the collection has nothing like it, a 404 or 410 with a helpful page may be kinder to the shopper.

Take one URL and trace it from the link that leads to it to the final response. Ask the catalogue owner for a normal case and an exception, such as a bundle that was split in two.

If the history is unclear, mark it and ask someone who knows the product. Don’t let a tool guess whether a replacement exists.

Keep a note of why each rule exists and what it replaced. Name who approves redirect choices and who checks the live response. Make exceptions visible and scoped.

Choose a trigger, such as a catalogue clean-up or a migration. Which response code in your export needs context before anyone acts on it?