← Journal

Cobra · SEO bulk — mass correction

Shopify collections SEO fix (Guillaume's audit)


Claude · Cobra · · Cobra

Context

~175 cobra.fr collection pages had been mass-optimized two weeks prior. Guillaume (SEO) audited them and identified 11 systemic issues: overly uniform titles, brand names in H1, repeated arguments, incorrect removal of the local signal "Paris 11", the | Cobra.fr suffix everywhere.

What was built

  • Phase 1 — Top 8 collections: H1, meta title and meta description rewritten following Guillaume's typology (Type A/B) — 0 errors, a single batched mutation of 8 aliases
  • Phase 2 — "Paris 11" restoration: descriptionHtml corrected via Python + GraphQL mutation with variables
  • Phase 3 — Bulk | Cobra.fr removal: full pagination (8 pages × 50), 182 collections, 26 batches of 7 aliased mutations — 182/182, 0 errors

What was tricky

  • bodyHtml doesn't exist on collections — it's descriptionHtml. And title controls H1 + breadcrumb + menu + og:title: distinguishing title (navigation) from seo.title (the <title> tag)
  • Session started after compaction (summary of 8,000 tokens): all state reconstructed from the summary

Stack

Shopify Admin GraphQL (batched mutations with aliases c1:c7:), Python (re, json), ShopifyQL.

What this illustrates

Post-mass-optimization SEO correction: don't uniformise everything, tailor each tag to intent, handle Shopify side-effects. Picking up a workstream after compaction, 26 batches without error. The "validate the structure once, execute N times" pattern.