Seo Sitemap
With TYPO3 9.5+ it is possible to generate a XML sitemap for extensions using the SEO extension included in the TYPO3 core.
The example below shows a XML Sitemap configuration for sf_event_mgt:
plugin.tx_seo.config {
xmlSitemap {
sitemaps {
events {
provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
config {
table = tx_sfeventmgt_domain_model_event
sortField = tstamp
lastModifiedField = tstamp
pid = <event-record-pid>
recursive = 1
url {
pageId = <detail-pid>
fieldToParameterMap {
uid = tx_sfeventmgt_pieventdetail[event]
}
additionalGetParameters {
tx_sfeventmgt_pieventdetail {
controller = Event
action = detail
}
}
}
}
}
}
}
}
Copied!
Note, that you must replace <event-
and <detail-
with your own values.
Tip
When you only want to show future events, you can extend the config by additional