Marketplaces
Marketplace SEO architecture
Index published listings by slug. Orders and pending checkout state are not public pages.
A marketplace listing in the Marketplace Starter already has a unique slug, a title, and a summary. Those three fields are the public page: the path, the title, and the description. priceCents can be shown on the page. It should be formatted from the integer, not from a float.
Listing status defaults to "published". If you later introduce a draft status, keep drafts out of the sitemap the same way the directory keeps pending rows out. See dynamic sitemap architecture.
Do not create indexable URLs for orders. An order is a buyer email and a pending status. Checkout session ids do not belong in sitemap.xml.
Category pages should list published listings in that category. Seller pages should list that user’s published listings. Both are ordinary queries on the schema in marketplace database schema with Prisma.