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
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Insert / update Meshkee SEO proxy locations on an existing storefront nginx site.
|
||||
# Covers: /sitemap.xml (index), /sitemap-main.xml, /sitemap-products.xml, /robots.txt
|
||||
# Covers: /sitemap.xml (index), child sitemaps, /robots.txt
|
||||
set -euo pipefail
|
||||
|
||||
HOST="${1:-}"
|
||||
@@ -61,6 +61,11 @@ ensure_location() {
|
||||
ensure_location /sitemap.xml sitemap.xml
|
||||
ensure_location /sitemap-main.xml sitemap-main.xml
|
||||
ensure_location /sitemap-products.xml sitemap-products.xml
|
||||
ensure_location /sitemap-blogs.xml sitemap-blogs.xml
|
||||
ensure_location /sitemap-portfolios.xml sitemap-portfolios.xml
|
||||
ensure_location /sitemap-videos.xml sitemap-videos.xml
|
||||
ensure_location /sitemap-instructions.xml sitemap-instructions.xml
|
||||
ensure_location /sitemap-workshops.xml sitemap-workshops.xml
|
||||
ensure_location /robots.txt robots.txt
|
||||
|
||||
nginx -t
|
||||
|
||||
Reference in New Issue
Block a user