#109200Different root page specification not possible on core Sitemap
Description
Dear support,
we have a problem when specify a different root page.
As documented here https://docs.typo3.org/m/typo3/reference-coreapi/13.4/en-us/ApiOverview/Seo/XmlSitemap.html#for-pages, seems possibile specify a custom configuration for rootPage, writing i.e.:
plugin.tx_seo.settings.xmlSitemap.sitemaps.pages.rootPage = <MY_ROOT>
We have tried to add the configuration via Constant editor in the typoscript record where we include ext SEO static typoscript, or adding it in the typoscript settings into another extension, but the configuration is ignored. Into the debugging, we see the other configurations but not that.
If we alter the core file cms-seo/Configuration/TypoScript/XmlSitemap/setup.typoscript adding rootPage = {$plugin.tx_seo.settings.xmlSitemap.sitemaps.pages.rootPage} under specific section, the module works properly.It seems that the configuration is “not merged” during the typoscript retrieving.
plugin.tx_seo {
view {
...
}
config {
# Here you can override the xslFile for all sitemaps
# xslFile = EXT:seo/Resources/Public/CSS/Sitemap.xsl
xmlSitemap {
sitemaps {
# Here you can override the xslFile for all sitemaps of a certain sitemapType
# xslFile = EXT:seo/Resources/Public/CSS/Sitemap.xsl
pages {
provider = TYPO3\CMS\Seo\XmlSitemap\PagesXmlSitemapDataProvider
config {
rootPage = {$plugin.tx_seo.settings.xmlSitemap.sitemaps.pages.rootPage}
...
}
}
}
}
}
}
Thank you,
Gianluca
Reviews 1
History 25
-
Garvin Hicking commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2026-03-10T11:14:20+00:00" > 03/10/26, 11:14 </span> -
Gianluca Strafella commented <span data-processor="relativetime" data-value="2026-03-10T11:28:18+00:00" > 03/10/26, 11:28 </span>
Hello @ghi,
Before to open this issue I’ve tried that road, but the situation not changed.Gianluca
-
Gerrit Code Review pushed patch set 1 for main to change 96499 status
Needs FeedbackUnder Review <span data-processor="relativetime" data-value="2026-10-07T18:29:32+00:00" > 10/07/26, 18:29 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96499 <span data-processor="relativetime" data-value="2026-10-10T09:00:18+00:00" > 10/10/26, 09:00 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 96499 <span data-processor="relativetime" data-value="2026-11-10T18:18:50+00:00" > 11/10/26, 18:18 </span>
Please put your overriding typoscript in an extension that has a dependency to EXT:seo. The order matters, and then your ext can overwrite ext:seo ts.
(Hopefully)