Technical SEO

E-commerce SEO: The Complete Guide to Ranking Your Store

E-commerce SEO step by step: keywords, site structure, category and product pages, filters, out-of-stock products, product data and AI shopping results.

E-commerce SEO. Category and product pages that rank. Illustrated with a shopping cart.

E-commerce SEO is the work of getting an online store’s category and product pages found by people searching for what it sells. The principles are the same as for any site, but the problems are different. A store has thousands of near-identical pages, filters that can generate endless URLs, products that sell out and disappear, and product data that feeds shopping results as well as regular ones. Most of the work is managing those problems well.

This guide covers keyword research for a store, site structure, category and product pages, and the parts most e-commerce guides skip or rush: filters, pagination, variants, out-of-stock and discontinued products, product data and Merchant Center, stores selling in several countries, and AI shopping results. It draws on Google’s own e-commerce documentation, which is more detailed than most people realize. If you’re on Shopify, our Shopify SEO guide covers the platform’s specifics.

The short version

  • Category pages usually matter most. They match the broad buying searches and collect the most internal links.
  • Write original product content. Manufacturer descriptions are on every store selling the product.
  • Control your filters. Google’s guidance is to keep most filter combinations from being crawled, and to give only the searched-for ones proper landing pages.
  • Don’t delete products carelessly. Temporary stock-outs keep their pages; discontinued products redirect only to a genuine replacement.
  • Share product data twice: structured data on your pages and a Merchant Center feed. Free listings can put your products in front of shoppers across Google at no cost.
  • AI shopping runs on product data. Google’s AI Mode draws on its Shopping Graph, built from listings like yours. Complete, accurate data is what gets you included.
  • Measure revenue, not rankings. Track organic revenue by page type, so you know whether categories, products or guides are earning.

Where products can appear on Google

A store’s products can show up in more places than the ten blue links, and each has its own requirements. Google’s documentation on where e-commerce content can appear and free listings covers them:

Surface What shows What it needs
Search results Your pages, sometimes with price, availability and ratings Indexable pages; structured data helps
Shopping tab Product listings Merchant Center
Images and Lens Product images, visual matches Good images; Merchant Center for Lens product results
Maps and Business Profile Products in stock nearby Merchant Center with local inventory, a linked profile
YouTube and Gemini Free product listings Merchant Center
AI Mode Product results inside AI answers Product data in Google’s Shopping Graph

Free listings, which show your products across these surfaces, cost nothing. Paid Shopping ads are a separate option on top.

Keyword research for an online store

Store keywords fall into three groups, and each needs a different kind of page:

  • Category searches: broad buying searches such as “women’s trail running shoes” or “standing desks”. These belong to category pages.
  • Product searches: specific models, brands and part numbers, such as “brand x trail runner 4 size 7”. These belong to product pages.
  • Questions before buying: “how to choose trail running shoes”, “standing desk vs desk converter”. These belong to guides, which then link to the categories and products they mention.

Good sources for store keywords include your own site search (what shoppers type into your search box is pure demand), marketplace autocomplete, competitors’ category names and the Search Console queries your product pages already appear for. Our keyword research guide covers the full process, and the step that matters most for stores is mapping: one group of searches, one page, so a category page and a guide don’t compete for the same search.

Site structure

A clear structure helps shoppers and search engines find everything, and tells search engines which pages matter most. Google’s guidance on e-commerce site structure stresses plain links from menus to categories and on to products, and the rest is good practice:

  • Group products into categories and subcategories that match how people shop, not how your warehouse is organized.
  • Link to your most important categories from the main navigation, so they’re a click from the home page.
  • Keep every product reachable through plain links, from categories, subcategories and related products. Google notes that its crawler generally doesn’t type searches into a search box, so a product reachable only through site search may never be found.
  • Use breadcrumbs (Home › Shoes › Trail running) on category and product pages, marked up with BreadcrumbList structured data.
  • Keep URLs readable and stable. Google’s guidance on e-commerce URL structure recommends descriptive words over opaque IDs, one consistent form of each URL, and no session IDs or tracking codes in internal links, which create short-lived duplicate URLs.

Category pages

Category pages are where most stores have the most to gain. To make one rank:

  • Give it a clear title and H1 using the words shoppers search, such as “Women’s Trail Running Shoes”, not an internal name like “Collection 14”.
  • Add a short introduction that helps people choose: what the range covers, how the products differ, what to look for. A paragraph of keyword-stuffed text at the bottom of the page helps no one.
  • Link to subcategories and related categories, and to a buying guide if you have one.
  • Show enough products to be useful, with clear pagination for the rest (covered below).
  • Keep the URL stable. Renaming categories and changing their URLs every season throws away the reputation they’ve built.

Avoid creating categories that are near-duplicates of each other (“men’s shoes” and “shoes for men”). They split links and compete in search.

Product pages

A product page has to beat every other store selling the same thing. What gives it an edge:

  • Original descriptions. Manufacturer text is identical on every store that stocks the product. Write your own for your most important products: materials, fit, dimensions, what’s in the box, who it suits, how it compares with similar products.
  • Real images, several angles and in use, with descriptive alt text, file names that describe the product, and a size large enough to zoom.
  • Specifications in text, not only in images, so search engines and AI answers can read them.
  • Price, availability, delivery and returns, clearly visible. These are what shoppers look for first.
  • Genuine reviews. Reviews add original content, answer questions you hadn’t thought of and help shoppers decide. Never fake them or reward only positive ones; in the US, the FTC’s rule on consumer reviews bans fake and AI-generated reviews.
  • Product structured data. Product markup with price, availability, ratings and shipping details makes the page eligible for richer results. Our free Schema Markup Generator can write it for you; the values must match what’s visible on the page.

Product variants

Sizes, colors and materials can live on one page with a selector, or on separate pages. Google’s guidance on product variants supports both:

  • One page for all variants works for most stores. Each variant should still be selectable through its own URL (usually a parameter such as ?color=blue), and the whole product should have one canonical URL.
  • Separate pages per variant make sense when people search for the variants specifically, such as a phone in a particular storage size. Each page then needs its own full, self-contained markup.

Either way, ProductGroup structured data describes how the variants relate, with variesBy naming what changes between them (size, color, material) and a unique SKU or GTIN for each variant.

Filters and faceted navigation

Filters are the most common technical problem on store sites. Each combination of size, color, brand, price and sort order can create its own URL, and a category with ten filters can generate millions of combinations. Google’s guidance on faceted navigation is direct about the cost: crawlers spend time on useless filter URLs before recognizing them as such, which slows the discovery of new and useful pages.

It gives two options:

  1. Keep filter URLs from being crawled if you don’t need them in search. Disallow the filter parameters in robots.txt, or apply filters with URL fragments (#), which Google generally ignores.
  2. Make filter URLs crawl-friendly if you do want them crawled, accepting the extra load. Use the standard & separator, keep filters in a consistent order, and return a 404 for filter combinations with no results or that make no sense.

Google notes that canonical tags and nofollow links on filter URLs are weaker signals than either option.

The practical approach for most stores: decide which filtered views people actually search for. “Red running shoes” or “Nike running shoes” may have real demand; “running shoes, size 9, under $80, sorted by newest” doesn’t. Turn the valuable ones into proper landing pages, with a clean URL, a unique title and introduction, and links from the category, and keep the rest out of the crawl.

Pagination

Long categories run across several pages. Google’s guidance on pagination:

  • Link the pages sequentially with ordinary links, so crawlers can reach every page.
  • Give each page its own URL, such as ?page=2, and its own canonical. Don’t point every page’s canonical at page one.
  • Don’t use fragments (#page=2) for page numbers; Google ignores them.
  • “Load more” buttons and infinite scroll need crawlable links behind them. Google’s crawlers don’t click buttons. Without links, products beyond the first batch may never be found. A sitemap or a Merchant Center feed helps as a backup.
  • Keep re-sorted versions out of the index, such as ?order=price, which repeat the same products in a different order.

Google no longer uses rel="next" and rel="prev", though other search engines may.

Out-of-stock and discontinued products

Removing pages for products you can’t sell is one of the most common ways stores lose rankings. What to do depends on whether the product is coming back.

A decision guide for products you can’t sell: if the product is coming back, keep the page live and mark it out of stock. If it’s gone for good and a close replacement exists, redirect to the replacement. If there’s no replacement but the page still gets visits or links, keep it as a discontinued page with alternatives; otherwise let it return a 404.

  • Temporarily out of stock: keep the page live, with its content intact. Show the status clearly, set availability to OutOfStock (or PreOrder, BackOrder) in the structured data, suggest alternatives and offer a back-in-stock alert.
  • Discontinued, with a close replacement: redirect permanently (301) to the replacement, such as a product’s newer model.
  • Discontinued, no replacement, but the page still has visits or links: keep it as a discontinued page that explains what happened and links to the nearest alternatives.
  • Discontinued, no replacement, no visits: let the page return a 404 or 410.
  • Seasonal pages: keep the same URL every year (/black-friday/, not /black-friday-2026/), so the page keeps the reputation it built last season.

Don’t redirect every removed product to the home page or a category. Shoppers land somewhere they didn’t expect, and search engines may treat a redirect to an unrelated page as a soft 404, a “not found” in disguise, so the redirect brings no benefit.

Product data: structured data and Merchant Center

Google’s guidance on sharing product data recommends two routes, used together:

  • Structured data on your product pages, which helps Google understand them and makes them eligible for product rich results.
  • A Merchant Center feed, which tells Google about every product, including ones it hasn’t crawled yet, lets you control when updates happen, and is required for the Shopping tab and some other surfaces.

Keep the two consistent with each other and with the page. A price or availability that differs between the feed and the page can get products disapproved in Merchant Center, and it’s a bad experience for shoppers. Complete attributes, such as brand, GTIN, color, size, material and condition, help your products match more specific searches.

Technical health for large catalogs

  • Crawl budget. For most stores, Google crawls everything it should. It becomes a concern for very large or fast-changing sites. Google’s crawl budget guide is aimed, roughly, at sites with a million or more pages that change weekly, or 10,000 or more that change daily. Filters and duplicate URLs are usually what waste it.
  • Duplicates. The same product reachable through several category paths, tracking parameters and session IDs creates duplicate URLs. Use one canonical URL per product and link to it consistently.
  • Speed. Product and category templates carry heavy images, scripts and apps. Fixing a template fixes every page built on it, so start with the templates that get the most traffic.
  • JavaScript. If product details, prices or links only appear after scripts run, make sure crawlers can see them. Check a product page with the URL Inspection tool in Search Console.
  • Sitemaps. Include every product and category you want indexed, keep them current as products come and go, and add images if image search matters to you.

Our technical SEO guide covers each of these in depth.

Content beyond products

Guides, comparisons and reviews win the searches people make before they’re ready to buy, and they give category and product pages something to be linked from. Google’s advice on writing high-quality reviews applies to any buying content: show first-hand experience with the products, explain how they compare, discuss pros and cons, and include evidence such as your own photos or measurements. A guide that genuinely helps someone choose earns links and trust that a product page alone rarely does.

Selling in several countries

  • Give each country or language its own URL, such as a subfolder (/uk/, /de/), with prices in local currency and local delivery details.
  • Connect the versions with hreflang, so each market sees the right one.
  • Don’t redirect shoppers automatically by IP address or browser language. Google’s guidance on multi-regional sites advises against it, because crawlers, and travelers, may never see the other versions. Offer a clear country switcher instead.
  • Set up Merchant Center for each country you ship to, with the right currency and shipping details.

AI shopping results

Shopping is one of the areas where AI answers are moving fastest. Google’s AI Mode can answer requests like “a waterproof trail shoe for wide feet under $150” with product results, comparison tables, prices and reviews. Google says these draw on its Shopping Graph, which held more than 50 billion product listings, about 2 billion of them updated every hour, as of its November 2025 announcement.

What that means for a store:

  • Your product data is your visibility. Complete, accurate listings in Merchant Center and structured data on your pages are what put your products in the pool AI shopping draws from.
  • Detailed attributes match detailed requests. A request like the one above matches on attributes (waterproof, wide fit, price). Products with those details filled in can be matched; products without them can’t.
  • Reviews and original information help AI answers describe you. Specific, genuine product information gives them something to say.

The usual fundamentals still apply: Google says there are no extra requirements to appear in its AI features. Our AEO and GEO guide covers AI search more broadly.

How to measure e-commerce SEO

  • Revenue from organic search, by page type. In your analytics, split organic revenue and conversions by landing page type: categories, products, guides. It shows where SEO is earning and where to invest next.
  • Search Console by section. Filter the Performance report by URL (for example, pages containing /collections/ or /products/) to see impressions and clicks for each part of the store.
  • Indexing coverage. The Page indexing report shows whether your products are indexed, and whether filter URLs are getting in where they shouldn’t.
  • Merchant Center performance. The free listings report shows clicks from Shopping surfaces, and diagnostics show disapproved products.

Common mistakes

  • Manufacturer descriptions on every product.
  • Letting every filter combination be crawled and indexed.
  • Deleting out-of-stock products, or redirecting them all to the home page.
  • Renaming categories and changing their URLs every season.
  • “Load more” buttons with no crawlable links behind them.
  • Prices and availability that differ between the page, the structured data and the feed.
  • Thin category pages with no introduction, no subcategory links and no reason to rank.
  • Judging SEO by rankings instead of organic revenue.

Where e-commerce SEO fits

E-commerce SEO is technical SEO, on-page SEO and product data working together, at a scale where small mistakes repeat across thousands of pages. Our e-commerce SEO services cover all three, for Shopify, Magento and custom stores, and our approach to e-commerce marketing connects it with shopping ads and email. If you’d like to know where your store stands, a free SEO audit is the place to start.

Opens in a new tab

Frequently asked questions

What is e-commerce SEO?

E-commerce SEO is the work of getting an online store's category and product pages found in search, so shoppers land on them when they search for what you sell. It covers keyword research for products, site structure, category and product page content, filters, product data and the technical health of a large catalog.

How is e-commerce SEO different from regular SEO?

The principles are the same, but the problems come from scale. A store has thousands of near-identical pages, filters that can create endless URLs, products that sell out or disappear, and product data that feeds shopping results as well as web results. Most e-commerce SEO work is managing those problems.

Which pages matter most for e-commerce SEO?

Usually category pages. They match the broad commercial searches people make before they've chosen a product, such as "women's trail running shoes", and they collect links and internal links from across the site. Product pages win the specific searches, and guides win the questions people ask before buying.

Should I write my own product descriptions?

Yes, for the products that matter most. Manufacturer descriptions appear on every store that sells the product, so search engines have no reason to prefer your copy. Original descriptions with real details, such as fit, materials, what's in the box and who the product suits, give your page a reason to rank and help shoppers decide.

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

If the product is coming back, keep the page live, mark it as out of stock in the page and its structured data, and offer alternatives or a back-in-stock alert. If it's gone for good, redirect it to a genuine replacement if there is one; otherwise keep it as a discontinued page with alternatives if it still gets visits or links, or let it return a 404.

Should filter pages be indexed?

Only the few filter combinations people actually search for, such as a color or brand within a category, and those work best as proper landing pages with their own content. Google's guidance is to keep the rest from being crawled, for example with robots.txt rules, because endless filter combinations waste crawling and slow down the discovery of new products.

Do I need Google Merchant Center for SEO?

It isn't required to rank in the regular web results, but it's needed for the Shopping tab and some other Google surfaces, and its free listings can show your products in Search, Images, Lens, YouTube and Maps at no cost. Google recommends sharing product data both through structured data on your pages and through Merchant Center.

Does product structured data improve rankings?

Not directly. Structured data helps search engines understand your product pages and makes them eligible for richer results, such as price, availability and review ratings shown under the listing. Those can make a result more useful and more likely to be clicked, but they're never guaranteed.

How should I handle product variants?

Either put all variants on one page with a selector, where each variant can still be loaded by its own URL, or give each variant its own page if the variants are searched for separately. On a single page, use one canonical URL for the whole product. Google's ProductGroup markup describes how the variants relate.

How long does e-commerce SEO take?

Technical fixes, such as cleaning up filter URLs or fixing broken product data, can show results within weeks once the pages are recrawled. Category pages and content usually take a few months to reach their potential, and longer in competitive markets dominated by marketplaces and big retailers.

Can a small store compete with Amazon and big retailers?

On broad terms, rarely at first. Small stores win on specificity: niche categories, precise product searches, expert buying guides and original product information that marketplaces don't provide. Those searches tend to bring shoppers who are ready to buy, and the reputation they build helps with broader terms over time.

See how this applies to your own site

A free SEO audit shows where you stand today, before you commit to anything else.