---
title: "Create XML Sitemap for Terms"
manual: "dpn_glossary"
version: "7.0"
permalink: "https://docs.typo3.org/permalink/featdd/dpn-glossary:create-xml-sitemap-for-terms@7.0"
source: "Configuration/CreateXmlSitemapForTerms.rst"
rendered: "2026-09-21T17:52:00+00:00"
---

# Create XML Sitemap for Terms {#create-xml-sitemap-for-terms}

Requirements: System extension "SEO" installed (and setup.typoscript added)

Add the following code to you setup:

```typoscript
plugin.tx_seo.config {
    xmlSitemap {
        sitemaps {
            glossar {
                provider = TYPO3\CMS\Seo\XmlSitemap\RecordsXmlSitemapDataProvider
                config {
                    table = tx_dpnglossary_domain_model_term
                    sortField = name
                    lastModifiedField = tstamp
                    additionalWhere = AND {#term_mode} != "link"
                    pid = 123 #uid of the sysfolder where your term are stored
                    url {
                        pageId = 456 #uid of the page where the glossary plugin is placed

                        fieldToParameterMap {
                            uid = tx_dpnglossary_glossary[term]
                        }

                        additionalGetParameters {
                            tx_dpnglossary_glossary.controller = Term
                            tx_dpnglossary_glossary.action = show
                        }

                        useCacheHash = 1
                    }
                }
            }
        }
    }
}
```

Official documentaton: [https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ApiOverview/Seo/XmlSitemap.html](https://docs.typo3.org/m/typo3/reference-coreapi/11.5/en-us/ApiOverview/Seo/XmlSitemap.html)
