seo: redirect /sitemap.xml to /sitemap-index.xml; short TTL for robots+sitemap
This commit is contained in:
8
public/_headers
Normal file
8
public/_headers
Normal 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
|
||||||
1
public/_redirects
Normal file
1
public/_redirects
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/sitemap.xml /sitemap-index.xml 301
|
||||||
Reference in New Issue
Block a user