seo: redirect /sitemap.xml to /sitemap-index.xml; short TTL for robots+sitemap

This commit is contained in:
2026-04-20 04:36:54 +00:00
parent 169dee215b
commit 786c7ff691
2 changed files with 9 additions and 0 deletions

8
public/_headers Normal file
View File

@@ -0,0 +1,8 @@
/robots.txt
Cache-Control: public, max-age=300, must-revalidate
/sitemap-index.xml
Cache-Control: public, max-age=300, must-revalidate
/sitemap-0.xml
Cache-Control: public, max-age=300, must-revalidate