[FEATURE] Add properties changefreq and priority to XML sitemap entries
[Packages/TYPO3.CMS.git] / typo3 / sysext / seo / Classes / XmlSitemap / PagesXmlSitemapDataProvider.php
index c4f48c4..a8290fe 100644 (file)
@@ -66,7 +66,9 @@ class PagesXmlSitemapDataProvider extends AbstractXmlSitemapDataProvider
 
                 $this->items[] = [
                     'uid' => $page['uid'],
-                    'lastMod' => (int)$lastMod
+                    'lastMod' => (int)$lastMod,
+                    'changefreq' => $page['sitemap_changefreq'],
+                    'priority' => (float)$page['sitemap_priority'],
                 ];
             }
         }