To include the url of the custom extensions in the sitemap using seo extension, you can use the following typoscript
plugin.tx_seo {
config {
<sitemapType> {
sitemaps {
<unique key> {
provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
config {
table = your_table_name
sortField = sorting
lastModifiedField = tstamp
changeFreqField = changeFreq_field_in_table
priorityField = priority_field_in_table
additionalWhere = AND (no_index = 0 OR no_follow = 0)
pid = <page id('s) containing custom records>
recursive = <number of subpage levels taken into account beyond the pid page. (default: 0)>
url {
pageId = <your detail page id>
fieldToParameterMap {
uid = tx_extension_pi1[record]
}
additionalGetParameters {
tx_extension_pi1.controller = Ext_Controller
tx_extension_pi1.action = show
}
useCacheHash = 1
}
}
}
}
}
}
}