Sitemap
The page module provides a sitemap as specified by https://www.sitemaps.org/. It is accessible at http://[url-to-n2n-public]/sitemap.xml.
Extend sitemap
All pages you have added in the rocket backend will be automatically included in the sitemap. For each page you can add additional SitemapItems over the magic method _createSitemapItems() inside any PageController.
public function _createSitemapItems(Url $baseUrl, N2nLocale $n2nLocale, StatedShopDao $shopDao) { $sitemapItems = array(); foreach ($shopDao->getAllProductGroupTsByN2nLocale($n2nLocale) as $productGroupT) { $sitemapItems[] = new SitemapItem($baseUrl->pathExt($productGroupT->getPathPart())); } return $sitemapItems; }