# robots.txt for primeproduct.co User-agent: * Allow: / # Private surfaces — no public content to index. Disallow: /admin/ Disallow: /driver/ Disallow: /login Disallow: /register Disallow: /api/ # Account/session pages: crawlable but empty for an anonymous visitor. Disallow: /account Disallow: /my-orders # NOTE: /cart, /checkout, /compare and /wishlist are deliberately NOT disallowed. They carry # `noindex` in their prerendered (app/_lib/utilityPage.js), and a crawler must be able to # FETCH a page to see that tag. Disallowing them here would leave anything already indexed — # /compare was indexed for this store — stuck in the results forever. # Sitemap. MUST be an absolute URL — the spec ignores relative ones, and this line used to read # "Sitemap: /sitemap.xml", which no crawler resolves. The file itself is written into the static # export at build time by frontend/scripts/write-sitemap.js from the backend generator # (backend/routes/sitemap.py = THE source: every active product + category, ar/en hreflang pairs). # Before that, /sitemap.xml fell through to the SPA shell and answered with HTML, so Google was # pointed at something that was never a sitemap. Sitemap: https://primeproduct.co/sitemap.xml