How to Audit Redirects for Discontinued Product Pages

Keep Links Working. A website editor checks a laptop.

Published

A discontinued product still gets clicks from a buying guide and an old email. Your team removes it from the store and sends its URL to the homepage. The redirect works at the server level, but the shopper has to start the search again.

An ecommerce redirect audit checks both the HTTP response and what the destination offers the visitor. You can run one with a spreadsheet and a terminal. Start with a handful of retired products that still have links or recent search activity.

Make a decision for each old URL

Put the old URL, the original product and the proposed destination in a sheet. Add a reason for the decision and name the person who can confirm it. A product manager will often know whether a new model is a genuine successor or simply a different product in the same range.

Use a permanent redirect when the replacement serves substantially the same purpose. If the old item is temporarily out of stock, consider keeping the page available with accurate inventory and useful alternatives. For a permanently removed product with no appropriate replacement, a real 404 or 410 is a reasonable outcome. Google advises against sending many unrelated URLs to a single destination. Google’s site migration and redirect mapping guide

A store employee checks a tablet beside product shelves.
AI-generated editorial illustration by Qandey Tech.

Work through three fictional URLs

Suppose a lighting store replaces the Oak Desk Lamp with an updated model that fits the same desk, takes the same bulb and serves the same use. The old URL can redirect directly to the new product. The editor should update the desk lamp buying guide to point to the successor as well.

A discontinued power adapter presents a different decision. The closest alternative has a different connector. Sending the old link to that item could lead the customer to buy an incompatible part. If there is no equivalent destination, retire the URL with a 404 or 410 and update the buying guide to explain the discontinued accessory.

A third lamp is expected back next month. Keep its product URL available with an honest availability message and an alternative where useful. That preserves the page the customer wanted and avoids maintaining a temporary detour.

Check the response and final destination

Replace the example URLs below with pages you manage. The first command makes a GET request, discards the body and prints the headers. Look for the response status and the Location header. For a permanent product replacement, 301 or 308 is the expected response. Google’s redirect documentation

curl -sS -D - -o /dev/null https://example.com/products/oak-desk-lamp

Follow the redirect with the second command. It prints the final URL, status and hop count. For the lamp replacement, expect the new product URL, status 200 and one redirect when you start from the canonical old address. A separate HTTP-to-HTTPS or hostname redirect can add a hop when you start from another variant.

curl -sSL -o /dev/null -w '%{url_effective} %{http_code} %{num_redirects}\n' https://example.com/products/oak-desk-lamp

Open the final page on a phone. Check the product name, availability, market and whether the new page answers the question implied by the old link. A 200 response from the homepage only proves that the homepage loaded. If the URL passes through the previous successor before reaching the current version, update the original rule to point to the final page.

Two colleagues verify a web page on a monitor.
AI-generated editorial illustration by Qandey Tech.

Update the links you control

Replace links in navigation, product guides, category copy and campaigns you still run. Check the canonical tag on the replacement page and confirm your sitemap lists the destination where appropriate. If Google continues to show another URL, inspect the destination in Search Console and compare the canonical declared by the site with the one Google selected. Qandey Tech’s canonical URL verification guide

Keep an audit row for each tested URL with the expected status, observed status, final destination and date. Recheck the retired adapter as well as the successful redirect. In this example the adapter should reach a useful error page with an actual 404 or 410 response. A branded error message that returns 200 needs a technical fix.

Start with the URLs that still bring visitors and work through the rest in batches. This catches an irrelevant destination or a redirect chain before you apply the same rule to a larger catalog.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *