Files
marketplaces/public/sitemap.xml

45 lines
1.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!--
Static baseline sitemap - top-level, statically-known marketplace routes
only (home, catalog, search, wishlist, compare) for the site's default
locale segment ('ru', see app.routes.ts's `redirectTo: 'ru'` fallback).
Known limitation (documented, not faked): this is a multi-tenant,
config-driven platform (docs/ARCHITECTURE.md) - supported locales,
categories, products, and static pages are all resolved at runtime from
the tenant's bootstrap config, not enumerable at build time from the
frontend alone. A real per-tenant sitemap covering
/:lang/product/:id, /:lang/catalog/:categoryId, and /:lang/:staticPath
needs a backend/build-time job that reads the same bootstrap data source
and regenerates this file (or serves it dynamically) per tenant/domain -
see docs/BACKEND.md. Until that exists, this static file is a reasonable
floor, not the full picture.
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>/ru</loc>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>/ru/catalog</loc>
<changefreq>daily</changefreq>
<priority>0.9</priority>
</url>
<url>
<loc>/ru/search</loc>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>/ru/wishlist</loc>
<changefreq>monthly</changefreq>
<priority>0.3</priority>
</url>
<url>
<loc>/ru/compare</loc>
<changefreq>monthly</changefreq>
<priority>0.3</priority>
</url>
</urlset>