# XML Sitemap¶

From version 3.0 of EXT:yoast_seo, we ship a extendable sitemap functionality. It is enabled by default and showing all normal pages. But there are some configuration options.

## Add doktypes to pages sitemap¶

The configuration of sitemaps is done within TypoScript. If you want to change the doktypes that are in the pages sitemap, by default only normal pages, you can use the following TypoScript setup.

plugin.tx_yoastseo {
sitemap {
config {
pages {
additionalWhere = AND doktype IN (1, 137)
}
}
}
}


With this TypoScript you can also add more constraints to which pages you want to show.

## How to configure EXT:realurl¶

If you are using the auto-configuration option on EXT:realurl, you are all set. You can find your sitemap by browsing to https://domain.com/sitemap.xml. It will show you an index of sitemaps, containing 1 sitemap for pages. Only pages where indexing is enabled in the page properties are mentioned here.

When you have a manual configuration for EXT:realurl, you add to set the follow to your configuration array:

'fileName' => [
'index' => [
'sitemap-pages.xml' => [
'keyValues' => [
'type' => 1522073831,
'tx_yoastseo_sitemap' => 'pages'
]
],
'sitemap.xml' => [
'keyValues' => [
'type' => 1522073831
]
]
]
]