---
name: ecommerce-seo
description: "Optimises an online store's category and product pages for search: maps keywords to the right page type, sets title, meta and H1 patterns per template, plans category and product page content, decides which filter combinations get indexable URLs, handles variants and out-of-stock pages, and specifies Product, Offer and breadcrumb structured data. Delivers template-level fixes ranked by revenue, plus bulk title and description rewrites. Use when someone asks for ecommerce SEO, Shopify or WooCommerce SEO, category page or collection page SEO, product page SEO, faceted navigation, product schema, or why product pages don't rank."
license: MIT
compatibility: "Any AI agent with web fetch. Keyword data (Semrush, Ahrefs), Search Console exports and a product export from the store platform make it sharper; without keyword data, page-type decisions rely on reading the results pages."
metadata:
  title: "Ecommerce SEO"
  category: "SEO: local, ecommerce and programmatic"
  requires: "none"
  data-needed: "None"
  slate-tools: "keyword_research, competitor_research, web_research, seo_page_audit, query_pages, import_csv_to_sheet, manage_sheet_columns, execute_sheet (Slate MCP); Semrush, Ahrefs, Web research, Page audit, Search Console page data and Sheets in the Slate app"
  slate-signup: "https://app.slatehq.ai/register"
  homepage: "https://slatehq.com/skills/ecommerce-seo"
  author: "Slate"
  version: "1.0.0"
---

# Ecommerce SEO

Fixes the pages a store makes money from. It works at the template level, because a store has a handful of page types repeated thousands of times: one corrected category template fixes every category. It decides which searches each page type should win (categories for "waterproof hiking boots", products for "Salomon X Ultra 4 GTX", guides for "best hiking boots for wide feet"), writes the title and content patterns for each, settles which filter pages deserve to be indexed and which waste crawl, handles variants and discontinued products, and specifies the structured data that feeds product results. Generic advice says "write unique descriptions"; this says which 50 products to rewrite first and what the category template must contain.

## When to use

- "Ecommerce SEO", "Shopify SEO", "WooCommerce SEO", "our collection pages don't rank", "product page SEO", "faceted navigation is creating thousands of URLs", "product schema", "what do we do with out-of-stock products", "rewrite our product titles".
- A store of any size; most useful from about 50 products up, where templates and filters start to matter.
- Not for marketplace listings on Amazon: use `amazon-listing-optimizer`.
- Not for a site-wide crawl and indexing audit: use `technical-seo-audit`, then come back for the store-specific fixes.
- Not for the conversion side of product pages: use `page-cro-audit`.

## What you need

Required:
- **The store URL** and **platform** (Shopify, WooCommerce, Magento, BigCommerce, custom). Platform rules decide many fixes.
- **Market**: country and currency.

Ask for, or assume and state:
- **Product export**: product title, URL, category, price, stock, revenue or units for the last 12 months. Revenue decides priority; without it, use Search Console clicks or category size, and say so.
- **Search Console access or exports** (pages and queries, last 12 months).
- **Filters in use** on category pages (size, colour, brand, price, material) and how they change the URL.
- **Known issues**: duplicate content, index bloat, a recent migration.

## Data and tools

- **In Slate:** Semrush and Ahrefs give keyword volume and difficulty, the top results for a keyword (to see which page type wins), and the keywords a domain ranks for with the ranking URL. Web research lists sitemap URLs by type and reads category and product pages, yours and competitors'. Page audit checks one URL's on-page elements. Search Console page data shows clicks and impressions per page. Sheets holds the catalog and can draft titles and descriptions row by row. Slate doesn't write product data into Shopify or WooCommerce: export the changes as a CSV for the platform's bulk import.
- **With the Slate MCP server:** `keyword_research` with `view: "overview"` and `database` for volume, `view: "related"` for attribute and question variants, `view: "organic_results"` to see whether category pages, product pages or articles win. `competitor_research` with `view: "organic_keywords"` on your domain (which URL ranks for what) and on two or three competitors. `web_research` with `action: "sitemap"` and `include_string` (for example "/collections/" or "/products/") to count page types, and `action: "scrape"` with `extract_mode: "json"` and a `prompt` for title, H1, price, stock and review count. `seo_page_audit` on one URL per template. `query_pages` with `view: "list"` and `sort` by `gsc.clicks`. For bulk rewrites: `import_csv_to_sheet`, `manage_sheet_columns`, `execute_sheet` (pilot ten rows first).
- **Without Slate:** a crawler or the sitemap for page inventory, Search Console exports, a Semrush or Ahrefs export for keywords, the agent's web fetch for pages and results, a spreadsheet for rewrites, and Google's Rich Results Test for structured data.

## Procedure

1. **Inventory page types.** From the sitemap or a crawl, count: categories, subcategories, filtered listing URLs, products, variant URLs, brand pages, guides, internal search pages. Note how each URL is formed. A filtered or parameter URL count far above the product count means index bloat.
2. **Map searches to page types.** For each important keyword family, read the top 10. Category pages win plural, attribute-led searches ("men's trail running shoes"); product pages win model and brand searches; articles win "best", "vs" and "how to choose". Write one row per keyword family: target page type, target URL (existing or to create), volume, current position.
3. **Fix the category template.** Title: `<Category, in the searcher's words> | <Store>`; H1 matching. A short intro (50–150 words) above the products that doesn't push the grid below the first screen on mobile; links to subcategories; a buying guide or FAQ below the grid (300–800 words, real questions); a self-referencing canonical; paginated pages each with their own URL and canonical, never pointing all pages to page one.
4. **Fix the product template.** Title: `<Brand> <Product> <key attribute> | <Store>`. A unique description, specs as a table, real photos with descriptive alt text, visible reviews, shipping and returns, breadcrumbs to the parent category, related products. Manufacturer copy is shared by every reseller: rewrite the top products by revenue first (default top 50 or top 10%), not the whole catalog.
5. **Decide filters.** A filter combination gets an indexable URL only when people search for it, it lists enough products to be a real page (default six or more), and it gets its own title, H1 and intro. Never index more than two filters combined, or sort, view and price-range parameters. Everything else: not linked as a crawlable URL, or `noindex, follow`, or canonical to the parent. Decision table and platform notes in `references/facets-and-schema.md`.
6. **Handle variants.** One URL per product with variants selected on the page, canonical to the main URL. A variant gets its own URL only when it is searched on its own (a colour or model people type) and its page differs.
7. **Handle stock changes.** Temporarily out of stock: keep the page live, mark availability, offer back-in-stock alerts. Discontinued with a successor: 301 to the successor. Discontinued without one: 301 to the closest category if the page has links or traffic, otherwise 410. Seasonal products: keep the URL year to year.
8. **Specify structured data.** `Product` with `Offer` (price, currency, availability, URL), brand, SKU or GTIN, and ratings only when reviews are visible; shipping and return policy for merchant listings; `BreadcrumbList` on categories and products. Prices and stock in the markup must match the page and the Merchant Center feed. Example in the reference.
9. **Link the catalog.** Main navigation to top categories; categories to subcategories; products to their category through breadcrumbs; guides to the categories they discuss; no important category deeper than three clicks.
10. **Prioritise.** Template fixes first (one change, every page), then index bloat, then the top products by revenue, then new category or filter pages from step 2. Each fix: pages affected, expected effect, effort, owner.
11. **Rewrite in bulk where it pays.** Load the product or category list into a sheet, draft titles and descriptions to the patterns, review ten, then the rest, and export a CSV in the platform's import format.

## Output

```markdown
## Ecommerce SEO: <store>, <market>, <date>
Platform: <platform>. Data: <sources and dates>. Priority by: <revenue / clicks / size>.

### Page inventory
| Page type | URLs | Indexable | Notes (bloat, duplicates) |

### Keyword-to-page map
| Keyword family | Volume | Winning page type | Target URL | Current position | Action |

### Template fixes
| Template | Change | Pages affected | Effort | Owner |

### Filter rules
| Filter or combination | Index? | Reason | Implementation |

### Stock and variant rules
### Structured data spec (JSON-LD per template)
### Bulk rewrites
Sheet or CSV link; pilot results; rows done.
```

## Quality checks

- Every page-type decision rests on reading the actual results page for that keyword family.
- Volumes and positions name their source and date; missing data is marked, not estimated.
- Filter rules cover every filter in use, including sort and price parameters.
- Markup examples validate and match the visible price and stock.
- Redirect rules never send discontinued products to the homepage.
- Rewritten titles were checked for length (about 60 characters) and for duplicates across the catalog.

## Common mistakes

- **Indexing every filter combination.** It creates thousands of thin pages and wastes crawl on URLs nobody searches.
- **Blocking filters in robots.txt and then expecting `noindex` to work.** A blocked URL can't be crawled, so its `noindex` is never seen; choose one method per URL type.
- **Pushing products below a long category intro.** Shoppers and search engines both expect the products near the top.
- **Rewriting all descriptions at once.** Start where revenue is; most of a catalog earns little.
- **Marking up reviews that aren't on the page.** Structured data must match what visitors see.
- **Deleting out-of-stock pages.** Temporary stock-outs keep their URL and rankings.

## Related skills

- `technical-seo-audit`: crawl, indexing and speed problems across the whole store.
- `schema-markup-generator`: full structured data beyond product templates.
- `title-meta-rewriter`: title and meta rewrites driven by Search Console data.
- `site-architecture-planner`: category tree and URL structure for a new store.
- `amazon-listing-optimizer`: the same products on Amazon.
- `page-cro-audit`: the conversion side of product and category pages.
