Salesforce Commerce Cloud technical SEO audit guide
Quick answer. A Salesforce Commerce Cloud technical SEO audit checks how the platform builds URLs, canonicals, hreflang, sitemaps and rendered HTML. Start with SEO URL rules and the query parameters SFCC appends: dwvar_ variation IDs, prefn and prefv refinements, cgid, srule and pagination. Then verify the canonical tag in the shared ISML head template, robots.txt in Business Manager, and whether the storefront renders content server-side. Remove crawl waste before chasing content.
What matters most
- Most SFCC crawl waste comes from query parameters the platform generates itself, not from missing or thin content.
- URL rules and canonical tags are configured in different places, so changing one without the other creates a new set of duplicates.
- Robots.txt disallow and noindex solve different problems; a blocked URL cannot pass its noindex to Google.
- On a headless SFCC storefront, meta tags and HTTP status codes depend on server-side rendering, not on Business Manager settings.
- Redirect maps built from the old crawl before launch are cheaper than rebuilding rankings afterwards.
What does a Salesforce Commerce Cloud technical SEO audit cover?
The audit starts with one question: which storefront are you running? Salesforce B2C Commerce, still widely called Salesforce Commerce Cloud, carries three generations of front end. SiteGenesis uses pipelines. SFRA, the Storefront Reference Architecture, uses JavaScript controllers and ISML templates. Composable Storefront, formerly PWA Kit, is a React application reading from SCAPI. The same catalogue behaves differently on each, so a fix list written for SFRA will mislead a PWA Kit team.
A technical SEO audit on SFCC is a configuration and template audit. It examines how the platform generates URLs, what lands in the head of each template, how refinement and internal search pages are handled, what robots.txt and sitemaps say, whether content is present in the first server response, and whether redirects survive a replatform. Keyword research and merchandising decisions sit outside it.
- Business Manager access with Merchant Tools and the SEO tools visible.
- The cartridge overlay or code repository holding your ISML template overrides.
- A full crawl that keeps query strings rather than stripping them.
- A sample of server logs, so you can see what crawlers actually request.
- The list of sites and locales configured on the realm, not just the one you know about.
Where to go next
Where do SFCC URL and canonical problems start?
Out of the box, an SFCC URL runs through on/demandware.store/Sites-MySite-Site/en_US/Product-Show?pid=12345. SEO URL rules in Business Manager rewrite that into something like /product-name/12345.html. Most implementations keep the product ID in the path, which is fine and stable. Trouble arrives from everything else the platform can append: locale segments, variation parameters, refinement parameters, sort rules, pagination and campaign source codes.
Canonical tags come from a shared head template, usually an ISML include that every page type decorates. That is efficient and risky at once, because one edit changes the canonical for products, categories, search results and content pages together. Check what the tag is built from. If it echoes the request URL including the query string, every refinement, sort order and tracking parameter becomes self-canonical and the duplicate problem is untouched.
| URL element | What SFCC uses it for | Indexation risk | Treatment |
|---|---|---|---|
| dwvar_ variation parameters | Pre-selects a variant on the product page | Duplicate of the base product URL | Canonical to the base product; keep variants out of sitemaps |
| prefn and prefv | Search refinement values for facets | Combinatorial URL growth | Index a shortlist of facets; noindex the rest |
| cgid | Category identifier on search and category endpoints | Several paths to one category | Enforce a single canonical category URL |
| srule, start and sz | Sort order and pagination on listing pages | Duplicated listing pages | Self-canonical page one; review how pagination is linked |
| campaign and source codes | Promotion and affiliate tracking | Duplicates created by inbound links | Canonical strips them; keep internal links clean |
| format=ajax | Returns a controller fragment, not a full page | Thin documents if crawled | Disallow in robots.txt and never link to it |
How should you handle faceted navigation and internal search on SFCC?
Faceted navigation needs a decision before it needs a fix. Choose the facet combinations that deserve to be indexed, usually one facet layered on one category where real search demand exists. Those get a clean URL, unique copy, a self-canonical and a place in the sitemap. Everything else is a crawl path, not a landing page.
SFCC gives you two levers. Robots.txt is editable in Business Manager under the SEO tools, and you can disallow whole parameter families there. The search results template can also emit noindex for refinement pages. These do different things, and teams routinely pick the wrong one. A disallowed URL is not crawled, so Google never reads the noindex sitting on it. If that URL is linked internally it can still be indexed as a bare address with no snippet. Either remove the internal links and disallow, or allow crawling and noindex.
Internal search pages built on the Search-Show controller should be noindex and kept out of internal links. They help shoppers and they hurt crawlers, because the parameter space behind a site search box is effectively unlimited. There is no single SFCC setting that marks refinements and search results as non-indexable. The logic lives in the controller and the template, so this item needs a developer, not a merchandiser.
- Write down which facet combinations are indexable pages before anyone touches a template.
- Apply one treatment per parameter family and apply it everywhere.
- Re-crawl after the change and count how many parameterised URLs Google can still reach.
What breaks on a headless or Page Designer storefront?
Composable Storefront renders in React. With server-side rendering on, head tags and product content arrive in the first HTML response. With it off, or when a route quietly falls back to client rendering, crawlers receive a shell. Fetch the URL with JavaScript disabled and compare it to the rendered DOM. If the product name, price and canonical appear only after hydration, treat that as a rendering defect rather than a content problem.
Status codes are the second trap. A client-side router can return HTTP 200 for a product that no longer exists and print a not-found message in the browser. Google reads that as a soft 404. The fix belongs in the route’s data loader, which has to return a real 404 when SCAPI comes back empty.
Page Designer adds a third. Content pages take their URL and meta tags from page attributes, so a merchandiser can publish a campaign page that duplicates the intent of a category page. Audit the page inventory alongside the catalogue, and give Page Designer pages an owner who checks titles and canonicals before publishing.
One last check: confirm which system answers robots.txt and the sitemap. On a managed PWA Kit runtime that can be the runtime rather than Business Manager, and editing the wrong one changes nothing at all.
Migration traps, and the order to fix them
Replatforms onto SFCC fail on URLs more often than on content. The new SEO URL pattern rarely matches the old one, and every changed path needs a 301. Build the redirect map from the old crawl before launch, not from a list of pages somebody remembers. In SFCC, URL redirects are configured per site and per locale in Business Manager and can be imported in bulk. Very large sets are usually better handled at the CDN, where they are faster to change and easier to review.
The other trap is the multi-site architecture. A realm often holds several sites and locales, each with its own URL rules, robots.txt and sitemap. A fix applied to one site does not propagate. Audit every site and locale, and generate hreflang from each site’s locale configuration rather than hand-writing it into a template.
- Identify the storefront generation and every place head tags are emitted.
- Fix canonical logic once, in the shared head template, then test each page type.
- Agree the facet indexation rules, then implement noindex or robots.txt to match them.
- Rebuild sitemaps per site and locale, split at 50,000 URLs or 50MB per file, with an index file above that.
- Map redirects from the old crawl and import them before launch.
- Add schema.org Product markup to the product template and generate it from the product model so it stays accurate.
- Re-crawl after each change and compare against the previous crawl before starting the next item.
Frequently asked questions
Can I just block refinement URLs in robots.txt and be done?
Partly. Disallow stops crawlers fetching those URLs, which saves crawl budget, but it does not remove them from the index. A disallowed URL that is linked internally can still appear as a bare address with no snippet. The cleaner pattern is to allow crawling and return noindex on the refinement template, or to stop linking to facet combinations you never want indexed. Pick one approach per parameter family and apply it consistently across sites and locales.
Does Salesforce Commerce Cloud generate sitemaps automatically?
Business Manager has sitemap settings within its SEO tools, and jobs exist to produce sitemap files. In practice most large catalogues need more control: multiple sites and locales, variant URLs excluded, refinement URLs excluded, and a sitemap index once you pass Google’s limit of 50,000 URLs or 50MB per file. Many teams supplement or replace the built-in output with a custom controller or an edge-generated sitemap. Check which system actually serves the file before you edit anything.
How do I change a product URL in SFCC without losing rankings?
Change the URL rule, then add a 301 from the old path to the new one in Business Manager’s URL redirects for that site and locale. Export the current URL list first so the map is complete, and confirm internal links and the sitemap point at the new pattern. Keeping the product ID in the path helps, because it is stable and avoids collisions when two products share a name. Re-crawl and watch the redirect report after the change.
Is a headless SFCC storefront harder to audit?
It is different rather than harder. The catalogue, URL rules and redirects still live in Business Manager, so the same checks apply. What changes is where the HTML comes from. A React app on PWA Kit needs server-side rendering for meta tags and real HTTP status codes for missing products. You audit the rendering path as well as the platform configuration, and you verify robots.txt and sitemaps against the runtime rather than assuming the realm answers them.
Do I need a developer involved in an SFCC SEO audit?
For anything that changes page output, yes. Canonical tags, noindex rules and structured data all come from ISML templates and JavaScript controllers on SFRA, or from React components on Composable Storefront. A merchandiser can edit robots.txt, URL rules and redirects in Business Manager. Everything else needs someone who can deploy a cartridge. Budget that developer time before the audit begins, or you end up with a document nobody can act on.
How long does a Salesforce Commerce Cloud SEO audit take?
Scope decides it. A single-site SFRA storefront with a moderate catalogue can be crawled, reviewed and written up in a couple of weeks. Multi-site realms, headless storefronts and large facet spaces take longer, mainly because every site and locale needs its own check. The template and configuration review is the quick part. Reconciling the findings with the development roadmap usually consumes the most calendar time.
Sources
- Salesforce B2C Commerce developer documentation covering URL rules, ISML templates and controllers
- Google guidance on consolidating duplicate URLs with canonical tags and why canonical is a hint
- Google sitemap format and the 50,000 URL and 50MB per-file limits
- schema.org Product type used for product structured data
Book an SFCC technical SEO audit
We crawl the storefront, review your URL rules, canonical output and templates, and return a prioritised fix list your developers can ship. The order comes from crawl waste removed, not from effort.




