Sitemap pro Host (1h-Cache): Hub listet Landing + Rechts-/Info-Seiten, Spokes zusaetzlich Kategorien (lokalisierte Slugs), oeffentliche Newsrooms und alle im Archiv sichtbaren PMs des Portals (explizit ohne PortalScope, forPortalValues). Suche und Marketing-Platzhalterseiten bleiben draussen. Statische public/robots.txt entfernt (haette die Route verschattet); robots.txt jetzt dynamisch mit Sitemap-Verweis und Disallow fuer /admin, /login, /register, Suche. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
11 lines
302 B
PHP
11 lines
302 B
PHP
{!! '<?xml version="1.0" encoding="UTF-8"?>' !!}
|
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
@foreach ($urls as $url)
|
|
<url>
|
|
<loc>{{ $url['loc'] }}</loc>
|
|
@if (! empty($url['lastmod']))
|
|
<lastmod>{{ $url['lastmod'] }}</lastmod>
|
|
@endif
|
|
</url>
|
|
@endforeach
|
|
</urlset>
|