Free SEO audit for new clients — claim yours
Home/Learn SEO/Chapter 7: Local and ecommerce SEO/Ecommerce SEO Basics: Category and Product Pages
Chapter 7 · Lesson 50 of 65

Ecommerce SEO Basics: Category and Product Pages

Learn how to structure an online store for search: what category and product pages should do, clean URLs, filters, product data and out-of-stock pages.

By Rohit Choudhary · 9 min read · Updated October 2026

Running an online store brings SEO problems that a blog or a local business never faces. You may have hundreds of products, each in five colors, with filters for size, price and brand. Products sell out. New ones arrive every week. Beginners often ask me: “Which pages should I actually try to rank, and how do I stop the rest from causing a mess?”

In this lesson, I will explain how SEO works for online stores, using Google’s own ecommerce guides as our map. You will learn the job of category and product pages, how to set up clean URLs, how to handle filters, how to share product data with Google, and what to do when a product goes out of stock. By the end, you will be able to review your own store’s structure and spot the biggest problems.

This lesson leans on several earlier ones, especially site architecture, canonical tags and structured data for beginners. I will link to them as we go rather than repeat them.

What makes ecommerce SEO different?

Ecommerce SEO is the work of helping an online store’s pages show up when people search for products to buy. The basics are the same as any other site: crawlable pages, helpful content, good titles and links. What changes is the scale and the structure.

An online store has three special challenges:

  • Many similar pages. Product variants, sort orders and filters can create thousands of URLs that show almost the same thing.
  • Changing stock. Products sell out, come back or get discontinued, and each case needs a decision.
  • More places to appear. Google’s ecommerce guides explain that product data can appear in more places than the regular blue links, such as product rich results and the Shopping tab.

Google notes that its ecommerce guidance is written mainly for online stores, but much of it also helps businesses that sell in physical shops.

Category pages vs product pages: which should rank?

Think of a store like a supermarket. The category page is the aisle sign: “Running shoes,” “Women’s raincoats.” The product page is the single item on the shelf: one specific shoe in one model.

They match different searches, which you learned about in the search intent lesson:

Category pageProduct page
Example search“women’s trail running shoes”“Brand X Trail 5 women’s size 8”
What the searcher wantsTo compare optionsA specific item, often ready to buy
Main job of the pageShow a good range and help people narrow downGive every detail needed to buy with confidence
Content that helpsA short, useful intro; clear filters; links to subcategoriesOriginal description, photos, price, stock, shipping, reviews
Typical keyword typeBroader, higher-volume termsSpecific, long-tail terms

For most stores, category pages win the broader, more competitive searches, and product pages pick up specific ones. Both are worth optimizing. A common mistake is leaving category pages as a bare grid of products with no text, a generic title and nothing to tell Google what the page covers.

On product pages, write your own descriptions instead of copying the manufacturer’s text that hundreds of other stores also use. Our guide on writing product descriptions that sell and rank shows how.

How should you structure your store and its URLs?

Google’s ecommerce site structure guide recommends a clear, crawlable path from your menu to category pages, to subcategory pages, to product pages. Category pages should link directly to the products in them. Google says it strongly recommends linking to all the products you want indexed, using normal <a href> links rather than buttons that only work with JavaScript.

Two more points from that guide are easy to miss:

  • Link to your best sellers from the home page and other content, such as blog posts. Google says internal links help it understand which pages matter most.
  • Don’t hide products behind your site search. Googlebot generally doesn’t type into search boxes, so products that can only be found that way may be missed.

URL rules from Google’s ecommerce guide

Google’s guide on designing ecommerce URLs gives practical rules. Here they are in plain words, with invented examples:

  • Use descriptive words. /product/black-t-shirt-white-collar is clearer than /product/3243.
  • Give each variant its own URL if it should be findable, either as a path (/t-shirt/green) or a parameter (/t-shirt?color=green).
  • Don’t rely on fragments. Google doesn’t use the part after # for indexing, so /t-shirt#black and /t-shirt#white may be treated as one page.
  • Use standard parameters like ?page=2, not ?2, and don’t repeat the same parameter twice.
  • Don’t link internally to temporary parameters such as session IDs or tracking codes.
  • Stick to one letter case and use the same URL everywhere: in links, sitemaps and canonical tags.
  • Return a 404 or use noindex for empty categories, so Google doesn’t index pages with nothing on them.

For long category lists split across pages, Google’s pagination guide says to give each page its own URL, link pages in sequence with normal links, and not to point every page’s canonical at page one. Our article on ecommerce site structure goes deeper on organizing categories.

How do you handle filters and faceted navigation?

Faceted navigation is the set of filters on a category page: color, size, brand, price range. Each click usually adds something to the URL. Combine a few filters and you quickly get thousands of URLs, like /shoes?color=red&size=8&brand=x&sort=price.

Google’s guide on faceted navigation explains the problem. Crawlers can spend a lot of time fetching filter URLs that add little value, which can slow down how quickly they find your new, useful pages. Here is how I would think it through:

  1. List your filters and ask, for each one: would someone search for this as its own thing? “Red dresses” maybe yes. “Sort by newest” no.
  2. For filters that don’t need to appear in Search, Google’s preferred option is to block crawling of those filter URLs in robots.txt, while keeping an unfiltered category page that links to all items. Google describes canonical and nofollow approaches as less effective in the long term.
  3. For filters that deserve their own page, treat them like real category pages: a stable URL, a good title and some helpful content.
  4. Keep filter URLs tidy. Google recommends using the standard & separator, keeping filters in a consistent order, and returning a 404 when a filter combination has no results.

Filters are one of the trickier parts of store SEO, and the right setup depends on your platform. Our article on faceted navigation SEO walks through common setups.

How do you share product data with Google?

Google’s guide on sharing product data describes two main ways, and it recommends using both:

  • Product structured data on your pages. This is code (usually JSON-LD) that spells out the product name, image, price, currency and availability. It helps Google understand the page and can make it eligible for product rich results, such as price and stock details in search.
  • A Google Merchant Center feed. Merchant Center is Google’s free tool for submitting product data. It helps Google know about all your products, lets you control update timing, and is required to appear in the Shopping tab.

Here is a small invented example of product structured data. Google’s merchant listing documentation lists name, image and an offers block with price and priceCurrency as required:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Trail Runner 5 Women's Running Shoe",
  "image": "https://www.example.com/images/trail-runner-5.jpg",
  "offers": {
    "@type": "Offer",
    "price": "89.99",
    "priceCurrency": "USD",
    "availability": "https://schema.org/InStock"
  }
}
</script>

Most ecommerce platforms add basic product markup for you, so check what yours already does before adding more. Google also advises putting product markup in the initial HTML rather than adding it with JavaScript. Our guides on product schema and merchant listings and setting up Google Merchant Center cover each in detail.

What should you do with out-of-stock products?

Products selling out is normal. The question is what to do with the page. Here is how I suggest handling the common cases:

SituationWhat I suggest
Temporarily out of stock, coming backKeep the page live, show it clearly as out of stock, and set availability to OutOfStock (or BackOrder / PreOrder if true) in your structured data
Discontinued, with a close replacementRedirect the old URL to the replacement or its category with a 301 redirect
Discontinued, no replacement, but the page still gets visitsKeep the page with a clear “discontinued” note and links to similar products
Discontinued, no replacement, no valueLet the page return 404 or 410 and remove internal links to it

The key is honesty with shoppers. Google’s product data guidance warns about feeds going out of sync, such as a sold-out product still showing as available, and suggests letting Merchant Center update automatically from your site. Our article on out-of-stock and discontinued products has more detail.

Try it: review one category and one product page

Pick your most important category and its best-selling product, and check these in about 30 minutes:

  1. Click from your home page to the product. Can you get there with normal links in three or four clicks?
  2. Read both URLs. Are they short, readable words, without session IDs or fragments?
  3. Check the category page. Does it have a specific title, a short helpful intro and links to subcategories?
  4. Check the product description. Is it your own text, or copied from the manufacturer?
  5. Click two filters. Note what happens to the URL. Is that filtered page something people search for, or just noise?
  6. Test the product page in Google’s Rich Results Test and see whether product data is found.
  7. Find one sold-out product and check what the page shows shoppers.

Write down the three biggest issues. For a full store review, our ecommerce SEO checklist is a good next tool.

Questions beginners ask about ecommerce SEO

Should I write unique descriptions for every product?

For your important products, yes. Copied manufacturer text is the same on many stores, so it gives Google little reason to pick your page. Start with your best sellers and highest-margin items, then work down the list.

Should every filter page be indexed?

No. Only filter combinations people actually search for deserve to be indexable pages. For the rest, Google’s faceted navigation guide suggests blocking crawling with robots.txt and keeping an unfiltered category page that links to all products.

Do I need Google Merchant Center if I already have product schema?

It isn’t required for regular search results, but Google recommends using both. Merchant Center helps Google find all your products, gives you more control over updates and is required to appear in the Shopping tab.

What should I do with a product that’s gone for good?

If there’s a close replacement, a 301 redirect to it (or its category) usually helps shoppers most. If there isn’t, and the page has no value, let it return a 404 or 410 and remove links to it.

Ecommerce SEO in brief: clear structure, clean URLs, honest data

In brief: let category pages target broader searches and product pages target specific ones, and give both real content. Build a clear path of normal links from your menu to every product, keep URLs clean and stable, control filter URLs so they don’t waste crawling, and share accurate product data through structured data and Merchant Center. Handle out-of-stock products honestly.

That completes the local and ecommerce chapter. Next, we move into one of the biggest changes in search with AI Overviews and AI Mode: what they mean for SEO.

If your store needs a hand with SEO, take a look at our ecommerce SEO services or request a free quote.

Sources for this lesson on ecommerce SEO

  1. Ecommerce SEO guides (Google Search Central)
  2. Designing a URL structure for ecommerce sites (Google Search Central)
  3. Help Google understand your ecommerce site structure (Google Search Central)
  4. Managing crawling of faceted navigation URLs (Google Search Central)
  5. Share your product data with Google (Google Search Central)
  6. Merchant listing structured data (Google Search Central)

Rather have experts handle your SEO?

Tell us about your website and goals, and we will send you a free, no-obligation custom plan.

CallFree Quote