Split blogs and other modules into child sitemaps.
Move blogs, portfolios, videos, instructions, and workshops out of sitemap-main into dedicated files like products, and allow saving migrated Farsi category color labels without wiping store-item links. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
5850c90d84
commit
730407ec3a
@@ -138,9 +138,14 @@ Minimal example:
|
||||
- When linking from lists/cards, use the same `{id}/{slug}` shape for details (slugify Farsi title: spaces → `-`, keep Persian letters). Category links use `/products/category/{id}/{nameFaSlug}`.
|
||||
- Omit `templates` in `sitemap-config.json` unless this site uses non-default paths.
|
||||
- **Sitemap files (proxied by nginx — do not ship local copies):**
|
||||
- `/sitemap.xml` — sitemap **index**
|
||||
- `/sitemap-main.xml` — static pages + categories + blogs + portfolios
|
||||
- `/sitemap.xml` — sitemap **index** (lists child sitemaps for enabled modules)
|
||||
- `/sitemap-main.xml` — static pages + product categories
|
||||
- `/sitemap-products.xml` — published products (when products module is enabled)
|
||||
- `/sitemap-blogs.xml` — published blogs (when blog module is enabled)
|
||||
- `/sitemap-portfolios.xml` — published portfolios (when portfolio module is enabled)
|
||||
- `/sitemap-videos.xml` — published videos (when videos module is enabled)
|
||||
- `/sitemap-instructions.xml` — published instructions (when instructions module is enabled)
|
||||
- `/sitemap-workshops.xml` — published workshops (when workshops module is enabled)
|
||||
- `/robots.txt` — points at `/sitemap.xml`
|
||||
|
||||
### On-page SEO (every public page)
|
||||
|
||||
Reference in New Issue
Block a user