#106639Wrong Conten-type for subsitemaps
Description
Hello, I get an issue for crawlering my sitemaps by google. It can find the main sitemap, but all inner sitemaps are marked as not readable. I can access them over browser as usually and they looks like xml files, but when I try to scan them over curl, I can see, that the submaps are in wrong content-type. I have it updated over routeEnhancers, but the same result is when I disable it.
routeEnhancers:
PageTypeSuffix:
type: PageType
map:
/: 0
sitemap.xml: 1533906435
Here is an example of the outputs:
Correct root sitemap
curl -I https://seo-saurus.com/sitemap.xml
output:
content-type: application/xml;charset=utf-8
Wrong single page sitemap, taken from sitemap.xml
curl -I https://seo-saurus.com/sitemap.xml?sitemap=pages&cHash=9359115ffc1730420fe6142e1b3554af
output:
content-type: text/html; charset=utf-8
Version of the Seo extension is v13.4.9, but it seems to be like that already from the beginning of the v13 project.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.