On-Page SEO

Ecommerce Product URL Decisions

A practical framework for product variants, out-of-stock products, discontinued products, replacements, canonicals, redirects, and noindex decisions.

Product URL decisions affect search visibility, user trust, product data consistency, crawl focus, and revenue recovery. The wrong rule can remove useful pages, split signals, mislead shoppers, or create duplicate URL sets.

Use product URL decisions by product state, not one universal rule.

Product URL inventory

For each product URL, collect:

  • Product ID, SKU, GTIN, MPN, brand, and variant group.
  • Product status: live, out of stock, seasonal, discontinued, replacement available, support-only.
  • Search demand and query type.
  • Organic clicks and impressions.
  • Backlinks or mentions.
  • Internal links.
  • Revenue, add-to-cart, notification, or assisted value.
  • Canonical URL.
  • Structured data and feed status.
  • Replacement or alternative product.

This prevents SEO decisions from being made only from inventory status.

Variant decisions

Variants include size, color, material, bundle, configuration, model, subscription term, and other product options.

Variant SituationBetter SEO Decision
Minor variation with no unique demandKeep options on one canonical product URL.
Variant has distinct demand or specsGive it a unique, indexable URL if the page has useful content.
Variant changes only URL parameterCanonical to the main product unless the parameter page is intentionally indexable.
Parent product page plus selectable variantsUse clear variant selection and keep canonical signals consistent.
ProductGroup-style familyMake relationships clear in visible content and structured data where applicable.
Variant is unavailable but parent remains usefulKeep the parent live and show available alternatives.

Google’s ecommerce URL guidance recommends that variants be identifiable by separate URLs when you want Google to understand variant URLs. That does not mean every variant should be indexable. Demand, uniqueness, inventory stability, and user usefulness still matter.

Out-of-stock products

Out-of-stock pages should be honest and useful.

SituationRecommended Handling
Temporarily out of stockKeep live, show availability, preserve structured data accuracy, offer alerts and alternatives.
Seasonal product returningKeep live with expected timing, related products, and category paths.
Frequently restocked productKeep live; do not redirect each time inventory drops.
Product unavailable in one variantKeep product family live and guide users to available variants.
Product out of stock with no clear returnDecide based on demand, links, alternatives, and support value.

Do not mark a product as available in structured data or feeds if the page says otherwise.

Discontinued products

Discontinued products need a replacement logic.

Product StateBetter Decision
Discontinued with close replacement301 redirect to the replacement if it satisfies the same need.
Discontinued with category-level alternativesKeep page live with alternatives, or redirect to the closest category if useful.
Discontinued but useful for support/historyKeep live, mark unavailable, and link to manuals, parts, support, or replacements.
Discontinued with backlinks but no replacementKeep as archive/support if useful; otherwise consider a relevant category.
Discontinued with no demand, links, support, or replacementRemove and return 404 or 410 as appropriate.

Do not redirect every discontinued product to the homepage. That usually creates a poor experience and weak relevance.

Canonical and redirect rules

Use:

  • Self-canonical for the preferred live product URL.
  • Canonical to parent when duplicate variants do not deserve indexation.
  • Redirect when the old URL has a clear replacement.
  • Noindex when the page helps users but should not compete in search.
  • 404/410 when the product has no useful replacement or ongoing purpose.

Choose the control that matches user value. Canonical tags are not a substitute for a real product lifecycle policy.

Feed and structured data alignment

Product URL decisions must match:

  • Visible page content.
  • Product structured data.
  • Merchant Center feed attributes.
  • Availability.
  • Price and currency.
  • Product identifiers.
  • Canonical URL.
  • Image URLs.
  • Landing page URL.

Mismatches can create search, shopping, and trust problems. Product data needs a single source of truth.

Update internal links when product states change:

  • Category grids should not heavily promote permanently unavailable products.
  • Product pages should link to replacements, variants, accessories, and compatible items.
  • Buying guides should avoid sending users to dead products.
  • XML sitemaps should include canonical, useful product URLs.
  • Internal links should point to final URLs, not redirected products.

Internal links tell search systems which product URLs still matter.

Common mistakes

  • Removing every out-of-stock product.
  • Keeping every discontinued product indexed forever.
  • Redirecting unavailable products to irrelevant pages.
  • Letting variant parameters create duplicate URL sets.
  • Letting feeds, schema, and page availability disagree.
  • Leaving old product URLs in sitemaps.
  • Ignoring backlinks and support value.

Good product lifecycle SEO protects shoppers first. The best search decision is usually the one that gives users the clearest next step.

Useful source references