XML - content-type

@servingpixels

Thanks for the information! I was not aware that RSS can also be used for XML.

However, the error seems to lie somewhere else. When I check my sitemap via a sitmap validator, I get a 404 error even though the page is reachable.

The header:

HTTP/1.1 200

244 ms

2a00:1158:300::68c

x-powered-by
PHP/7.3.23
expires
Thu, 19 Nov 1981 08:52:00 GMT
cache-control
no-store, no-cache, must-revalidate
pragma
no-cache
vary
Accept-Encoding
content-encoding
gzip
content-length
311
content-type
text/xml; charset=UTF-8
date
Thu, 06 Jan 2022 08:58:35 GMT
server
Apache

@vibedesign That’s exactly how I do it. The sitemap is validated via

[[!GoogleSiteMap? &context=`web` &containerTpl=`sitemapcont-tpl`]]

generated.