SEO: site-wide NewsMediaOrganization and WebSite structured data

- GOOI&meer as NewsMediaOrganization on every page: former names (NH Gooi,
  6fm), logo, address, contact, KvK, social profiles, masthead (/redactie)
  and feedback policy (/klachten)
- WebSite with SearchAction (/nieuws/zoeken/{term})
- Organization details in config/seo.php; news articles use the same
  publisher @id and refer to the WebSite with isPartOf

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
eric.busandClaude Opus 5.5 committed 2026-11-23 15:56:46 +01:00
1 parent 129efb2857
commit 57f2a1ee45
4 files changed
+123 -6

No files matched your search

+11 -6
View File
@@ -21,16 +21,20 @@
}
}
// Same organization as in partial/site_jsonld (config/seo.php); name and
// logo are repeated here because Google expects them on the publisher
$org = config('seo.organization');
$home = rtrim(url('/'), '/') . '/';
$publisher = [
'@type' => 'NewsMediaOrganization',
'@id' => rtrim(url('/'), '/') . '/#organization',
'name' => 'GOOI&meer',
'url' => url('/'),
'@id' => $home . '#organization',
'name' => $org['name'],
'url' => $home,
'logo' => [
'@type' => 'ImageObject',
'url' => url('/android-chrome-512x512.png'),
'width' => 512,
'height' => 512,
'url' => url($org['logo']),
'width' => $org['logo_width'],
'height' => $org['logo_height'],
],
];
@@ -38,6 +42,7 @@
'@type' => 'NewsArticle',
'@id' => $canonical . '#article',
'mainEntityOfPage' => ['@type' => 'WebPage', '@id' => $canonical],
'isPartOf' => ['@id' => $home . '#website'],
'url' => $canonical,
'headline' => mb_substr($news->plainTitle(), 0, 110),
'description' => $news->summary(200),