Add legal pages, /evenements and /contact to sitemap

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-21 12:24:14 +01:00
parent 179a0703f8
commit 3519321f20

View File

@@ -80,6 +80,51 @@ class SitemapController extends AbstractController
'title' => 'E-Ticket - Nos organisateurs',
]],
],
[
'loc' => $this->generateUrl('app_contact', [], UrlGeneratorInterface::ABSOLUTE_URL),
'changefreq' => 'yearly',
'priority' => '0.5',
],
[
'loc' => $this->generateUrl('app_events', [], UrlGeneratorInterface::ABSOLUTE_URL),
'changefreq' => 'daily',
'priority' => '0.9',
],
[
'loc' => $this->generateUrl('app_mentions_legales', [], UrlGeneratorInterface::ABSOLUTE_URL),
'changefreq' => 'yearly',
'priority' => '0.3',
],
[
'loc' => $this->generateUrl('app_cgu', [], UrlGeneratorInterface::ABSOLUTE_URL),
'changefreq' => 'yearly',
'priority' => '0.3',
],
[
'loc' => $this->generateUrl('app_cgv', [], UrlGeneratorInterface::ABSOLUTE_URL),
'changefreq' => 'yearly',
'priority' => '0.3',
],
[
'loc' => $this->generateUrl('app_hosting', [], UrlGeneratorInterface::ABSOLUTE_URL),
'changefreq' => 'yearly',
'priority' => '0.2',
],
[
'loc' => $this->generateUrl('app_cookies', [], UrlGeneratorInterface::ABSOLUTE_URL),
'changefreq' => 'yearly',
'priority' => '0.2',
],
[
'loc' => $this->generateUrl('app_rgpd', [], UrlGeneratorInterface::ABSOLUTE_URL),
'changefreq' => 'yearly',
'priority' => '0.3',
],
[
'loc' => $this->generateUrl('app_conformite', [], UrlGeneratorInterface::ABSOLUTE_URL),
'changefreq' => 'yearly',
'priority' => '0.2',
],
];
return new Response(