Actions
Bug #88836
closedpage type not respected under some circumstances
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2019-07-24
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint
Description
In the site configuration I have the following configuration:
... routeEnhancers: Suffix: type: PageType default: / index: '' map: /: 0 yoast-snippetpreview.json: 1480321830 ...
When I now generate the XML index sitemap (with type 1533906435) I don't get the type in the sitemap URLs, so the link shows the home page instead of the pages XML sitemap:
<sitemap> <loc>https://website.ddev.local:8443/de/?sitemap=pages&cHash=0fe835841492c3b52e6090c6a7f6f310</loc> <lastmod>2019-07-24T09:30:35+02:00</lastmod> </sitemap>
But if I remove the routeEnhances.Suffix part, the type is respected:
<sitemap> <loc>https://website.ddev.local:8443/de/?sitemap=pages&type=1533906435&cHash=0fe835841492c3b52e6090c6a7f6f310</loc> <lastmod>2019-07-24T09:30:35+02:00</lastmod> </sitemap>
Actions