Actions
Bug #86659
closedSitemap with static routes produce xml error
Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2018-10-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
sitemap.xml, static routes
Complexity:
Is Regression:
Sprint Focus:
Description
Hello,
SiteManagement -> Static Routs -> sitemap.xml
I would like the sitemap to be accessible via domain.tld/sitemap.xml, so in the Static Routs I have "sitemap.xml" entered with the type "Page, File or URL" and in the input field: "t3://page?uid=1&type=1533906435" (UID 1 is the DomainRoot - GlobalIcon)
If I call the site now via domain.tld/sitemap.xml the error is that the XML is not correct because it doesn't start at line 1 - but instead it starts at line 2 - therefore its invalid.
Because I call the sitemap over domain.tld/?type=1533906435 OR domain.tld?uid=1&type=1533906435 it works as it should. So the XML tag starts in line 1 ...
Files
Actions