The short answer
- Ecommerce SEO optimization is mostly about category pages. They rank for the high-volume commercial queries; product pages rank for names and long-tail specifics.
- Control faceted navigation so filters do not create thousands of crawlable duplicates. Google's guidance: block what should not be indexed, canonicalize the rest.
- Keep out-of-stock pages live and mark them out of stock in structured data. Redirect only when a product is gone for good.
- Link from the home page and menus to your money categories, and from every buying guide to the category it supports.
- Content for AI search is the same content: Google says there is no special optimization for AI Overviews beyond being indexed and snippet-eligible.
Ecommerce SEO is the work of getting category and product pages ranked for queries people type when they are ready to buy. The stores that win do four things well: they build category pages around real search demand, keep filters from flooding the index, handle stock changes without losing URLs, and write content that funnels into categories.
Everything below applies on any platform. For Shopify specifics, see our Shopify SEO guide.
Category pages carry the volume
Compare the queries. "Women's trail running shoes" is a category query with steady volume and clear buying intent. "Brand X Model 7 GTX women's size 8" is a product query with a fraction of the searches. A store that only optimizes product pages is competing for the long tail and leaving the head terms to marketplaces and competitors.
Build the category map from keywords
- Pull every category-shaped keyword in your niche with monthly volume, from your own Search Console queries and from competitor gaps.
- Cluster by intent. If the same pages rank for two phrases, they belong on one category page.
- Map each cluster to one URL. Create a category where a cluster has meaningful volume and you stock at least a handful of products for it.
- Decide what stays a filter. "Waterproof" might be a filter on most catalogs and a full category on an outdoor store where "waterproof hiking boots" has strong volume.
What goes on the page
- An H1 that matches the main keyword, not a clever brand phrase.
- A short intro above the grid, then 200 to 400 words of buying help below it: how to choose, sizing, materials, the differences between price tiers.
- Links to sibling and child categories, and to one or two buying guides.
- A crawlable product grid. Google notes that if category pages do not link to all products in the category, Googlebot might not find every product by crawling alone. Use real <a href> links and paginated URLs, not infinite scroll that only loads in JavaScript.
Product page SEO
Product pages win on specifics and uniqueness.
- Rewrite manufacturer descriptions. Every reseller has the same paragraph. Add the details a buyer compares: dimensions, materials, compatibility, what is included, care.
- Title formula. Brand + model + key attribute + product type. "Acme Trailrunner 7 Waterproof Women's Trail Shoe" beats "Trailrunner 7".
- Variants. Google's ecommerce URL guidance allows a separate URL per variant through a path segment or a query parameter. If variants use optional parameters, make the URL without the parameter the canonical.
- Structured data. For merchant listings Google requires name, image, offers.price (above zero) and offers.priceCurrency, and recommends availability, shipping details, return policy, brand, GTIN or MPN, and reviews.
- Reviews on the page. They add fresh, unique text and answer objections in buyers' own words.
For catalogs with thousands of SKUs, write the top 10 to 20 percent by revenue by hand and use templates with real attributes for the rest. A template that pulls material, size range and use case is far better than a blank description.
Faceted navigation
Filters for size, color, price and brand are good for shoppers and a crawl trap for search engines. Five filters with ten values each can generate millions of URL combinations, almost all of them near-duplicates.
Google's faceted navigation documentation gives two paths.
If filtered URLs do not need to rank
- Disallow them in robots.txt, or
- Use URL fragments (#color=blue) instead of parameters, since Google does not index fragments.
If some filtered URLs should rank
- Use rel="canonical" on filtered versions pointing to the unfiltered category.
- Add rel="nofollow" on links to filter combinations you do not want crawled.
- Use the standard & separator for parameters and keep filter order consistent, so /shoes?color=blue&size=8 never also exists as /shoes?size=8&color=blue.
- Return a 404 when a filter combination has no results, rather than redirecting.
The practical rule: promote a filter to a real category page, with its own copy and a clean URL, only when it matches a keyword with real search volume. Everything else stays a filter and stays out of the index.
Out-of-stock and discontinued products
| Situation | What to do | Why |
|---|---|---|
| Temporarily out of stock | Keep the page live, show a restock date or email signup, set availability to OutOfStock in schema | Google recommends marking the page out of stock rather than removing it |
| Discontinued, close replacement exists | 301 to the replacement product | Passes links and sends shoppers to something they can buy |
| Discontinued, no replacement | 301 to the parent category | Keeps the visitor in the right part of the catalog |
| Discontinued, page still earns traffic for informational queries | Keep it live as an archive with links to current alternatives | The page is doing a job; do not throw it away |
| Seasonal category, empty part of the year | Keep the URL, show related products and the return date | The URL rebuilds authority every season if it stays put |
Google's guidance on pausing a business is explicit: do not use the Removals tool for out-of-stock products. Shoppers then lose first-hand information about the product, while third-party information may remain.
Internal linking
Internal links tell search engines which pages matter. Most stores spread them evenly and starve their best categories.
- Main menu: top categories by revenue and search demand.
- Home page: Google suggests linking best-selling products from the home page or other content.
- Breadcrumbs: on every product, pointing to its primary category.
- Category copy: links to child and sibling categories with keyword anchors.
- Blog posts: every buying guide links to the category it supports, near the top.
- Product pages: "related" and "complete the set" blocks pointing to products that share a category.
Run a crawl once a quarter and look for orphan pages: products or categories with no internal links. They exist on most catalogs older than a year.
Content that ranks for commercial queries
Blog content earns its place in ecommerce when it intercepts a buyer before they choose a store. Three formats do that reliably:
- Buying guides: "how to choose a standing desk", with a link to the category and a short pick list.
- Comparisons: "merino vs synthetic base layers", answered honestly, with links to both ranges.
- Problem posts: "running shoes for plantar fasciitis", where the answer naturally includes products.
Pick topics by search volume and by how close they sit to a category you sell. A post with 300 searches a month that feeds a profitable category is worth more than one with 5,000 searches that never leads to a product.
Refresh before you publish more. Posts ranking in positions 8 to 20 in Search Console are the cheapest traffic gains you have: tighten the intro, answer the questions in "People also ask", update the products and prices, and add internal links.
Ecommerce SEO and AI search
Google's documentation on AI features says there are no additional requirements to appear in AI Overviews or AI Mode. A page must be indexed and eligible to show in Search with a snippet. The same work above is the work for AI results.
ChatGPT, Gemini and Perplexity answer product questions by summarizing sources. Clear comparison content, specific product facts and honest buying guides are what gets quoted. To see where your brand appears in those answers, Sprites' AI visibility agent checks chosen prompts across ChatGPT, Gemini and Perplexity and writes content aimed at being cited.
Doing the work without an SEO team
The research and writing above is where most ecommerce teams stall. Sprites' AI SEO agent runs that loop: keyword research with search volume checked against real search behavior, competitor keyword gaps, page and site audits, and SEO blog posts written and updated, then published to WordPress, Webflow, Shopify or Framer after you approve. On Shopify it also bulk-improves product SEO.
It reads Google Search Console and Google Analytics 4, so refresh candidates come from your real rankings. Every change is an editable approval card. See the SEO optimization use case for the workflow, AI marketing for ecommerce for how it pairs with Google Shopping and Meta, and pricing for what each plan includes. Every plan starts with a 7-day trial for $1.
Start by listing your top 20 category keywords and checking which of them has a dedicated, written-up page. The gaps are your roadmap.