Headless commerce moves the storefront into your own code. That means canonicals, redirects, sitemaps, structured data and rendering are now your developers’ job, and most SEO losses after a headless launch come from one of those being skipped. We audit and fix them, with the most attention on faceted navigation, variants, product and category rendering, product schema and AI shopping answers.
Why do headless stores lose search traffic?
A theme on a hosted platform ships many SEO defaults. A custom storefront ships only what someone wrote. The common gaps we see:
- Product listing pages (PLPs) fetch products in the browser, so crawlers see a header, a footer and no products.
- Filters create millions of crawlable URL combinations, and Googlebot spends its time there instead of on products.
- Variants each get a URL with no canonical logic, so the same product competes with itself.
- Out-of-stock and deleted products return 200 with an empty page instead of a clear status or a redirect.
- Product schema is missing, invalid or disagrees with the visible price.
- Redirects from the old platform were mapped for top pages only.
How should faceted navigation work?
Faceted navigation is the biggest crawl risk on most stores. Every filter, sort order and page number can multiply URLs. The fix is a written policy for each facet, enforced in code.
| Facet type | Example | Typical treatment |
| ----------------------------- | --------------------------- | ------------------------------------------------------------------- |
| High-demand combination | /shoes/running/nike/ | Static path, indexable, own title and copy, in the sitemap |
| Low-demand filter | ?color=teal&size=11 | Crawlable link if useful for discovery, canonical to the parent PLP |
| Sort and view options | ?sort=price_asc | Canonical to the unsorted page, or blocked in robots.txt |
| Price ranges and multi-select | ?price=50-100&brand=a,b,c | Blocked in robots.txt, not linked with <a href> |
| Pagination | ?page=3 | Indexable, self-canonical, linked so deep products stay reachable |
Google’s guidance on managing faceted navigation URLs is the reference we follow. We check the policy against server logs, which show where Googlebot actually spends its requests.
How should variants and product URLs work?
Decide per attribute. Color often deserves its own URL because people search for “black trail runner”. Size rarely does. Whatever the choice, the canonical, the sitemap and internal links need to agree.
For markup, Google supports product variants through ProductGroup with hasVariant and variesBy. Each variant Product carries its own SKU, GTIN where you have one, price and availability.
What should render on the server for PDPs and PLPs?
Product detail pages (PDPs) and PLPs carry the revenue, so they get the strictest rendering rules.
- Product name, price, availability, main image, description and specs in the initial HTML, not fetched after load.
- PLP product links rendered as
<a href>elements in the HTML, at least for the first page of results. - Breadcrumbs as real links with
BreadcrumbListmarkup. - Reviews either rendered on the server or marked up only when they are visible to users.
- Cache and revalidation set so that price and stock in the HTML stay close to the live values. A cached page showing an old price can cause a mismatch with schema and feeds.
Most AI crawlers do not run JavaScript. For them, a client-rendered PDP is an empty page. Our guide on technical SEO for JavaScript and headless sites covers rendering modes in detail.
Product schema and merchant listings
Google can show products from structured data in merchant listing experiences, such as the Shopping tab and product panels, even without a Merchant Center feed. That requires Product markup with an Offer that has price, currency and availability, and it benefits from shipping details and a return policy.
We check that:
- Every PDP outputs valid
ProductandOfferJSON-LD from the server. - Schema price and availability match the visible page and the Merchant Center feed.
- Shipping and return policies are marked up, at the product or
Organizationlevel. - The
Organizationnode and its@idconnect products to your brand, as explained in our guide to schema markup for AI answers. - Search Console merchant listing and product snippet reports show no errors on key templates.
How do you show up in AI shopping answers?
Shoppers now ask assistants “best waterproof hiking boots under 200 dollars” and get a short list of products with links. Google AI Mode uses Google’s shopping data, and ChatGPT, Perplexity and Copilot pull from their own crawlers and search indexes.
What helps across all of them:
- Crawl access for the AI search agents you want, such as OAI-SearchBot and PerplexityBot, checked in robots.txt, CDN bot rules and logs.
- Specs, materials, dimensions, compatibility and use cases written as plain text on the PDP, so an assistant can match the product to a detailed question.
- Buying guides and comparison pages that answer the questions shoppers ask before they pick a product.
- Consistent product names and facts across your site, marketplaces and review sites.
That work spans answer engine optimization for the pages and generative engine optimization for retrieval and brand facts.
How we work with headless stores
We usually start with a technical SEO audit focused on the PDP, PLP and facet templates, plus 30 days of server logs. If the storefront runs on Next.js, the fixed-scope Next.js technical SEO audit covers the same ground with a route-by-route review.
Example scenario: a store with 4,000 products and 6 filterable attributes can expose hundreds of thousands of filter URLs. If logs show most Googlebot requests going to those URLs while new products wait weeks for a first crawl, the facet policy comes first, then PLP rendering, then schema.
We measure indexed products against the catalog size, Googlebot’s share of requests to product and category pages, merchant listing report errors, field Core Web Vitals on PDPs and PLPs, and citations of your products in a tracked set of shopping prompts.