SEO: host-aware sitemap.xml + dynamische robots.txt je Domain

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>
This commit is contained in:
Kevin Adametz 2026-07-03 12:34:12 +00:00
parent b855cbf7c0
commit e9643e620a
5 changed files with 251 additions and 2 deletions

View file

@ -0,0 +1,11 @@
{!! '<?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>