---
title: "Feature: #86826 - Recursive record sitemap"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-86826"
source: "Changelog/9.5.x/Feature-86826-RecursiveRecordSitemap.rst"
typo3-version: "9.5.x"
typo3-major: 9
type: "feature"
issue: 86826
forge: "https://forge.typo3.org/issues/86826"
tags: ["Frontend", "ext:seo"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Feature: #86826 - Recursive record sitemap {#feature-86826}

See [forge#86826](https://forge.typo3.org/issues/86826)

## Description {#description}

The class `\TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider` supports now the configuration `recursive` to include
records not only from provided list of page ids but also its subpages.
`recursive` refers to the number of levels taken into account beyond the `pid` page. (default: 0)

## Impact {#impact}

A full example:

```typoscript
plugin.tx_seo {
  config {
    xmlSitemap {
       sitemaps {
          news {
             provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
             config {
                table = tx_news_domain_model_news
                sortField = sorting
                lastModifiedField = tstamp
                pid = 26
                recursive = 2
                url {
                   pageId = 25
                   fieldToParameterMap {
                      uid = tx_news_pi1[news]
                   }
                   additionalGetParameters {
                      tx_news_pi1.controller = News
                      tx_news_pi1.action = detail
                   }
                   useCacheHash = 1
                }
             }
          }
       }
    }
 }
```
