Skip to content

SEO & Social Sharing

Herodotus includes built-in SEO features for better visibility in search engines and social media platforms.

Open Graph & Twitter Cards

On single event pages and category archive pages, Herodotus automatically outputs:

Open Graph Tags (Facebook, LinkedIn, Telegram, etc.)

<meta property="og:title" content="The Moon Landing" />
<meta property="og:description" content="On July 20, 1969..." />
<meta property="og:image" content="https://...image.jpg" />
<meta property="og:url" content="https://...permalink" />
<meta property="og:type" content="article" />
<meta property="og:site_name" content="Your Site Name" />

Twitter Card Tags

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="The Moon Landing" />
<meta name="twitter:description" content="On July 20, 1969..." />
<meta name="twitter:image" content="https://...image.jpg" />

What This Means

When someone shares a link to a Herodotus event on social media, the platform will display a rich preview with the event title, description, and featured image.

Schema.org / JSON-LD Structured Data

Herodotus outputs structured data in JSON-LD format:

Page Type Schema
Single Event Pages Article + Event schema
Category Archive Pages CollectionPage schema

Note: SEO tags are output only on single event pages and category archive pages. Regular pages that contain the [herodotus] shortcode do not receive any additional SEO markup from the plugin.

Search engines like Google can use this structured data to display rich results (rich snippets) for your events.

Compatibility with SEO Plugins

Herodotus automatically disables its own meta tags and structured data when any of these plugins is active:

SEO Plugin Detection
Yoast SEO ✅ Auto-detected
Rank Math ✅ Auto-detected
All in One SEO (AIOSEO) ✅ Auto-detected
The SEO Framework ✅ Auto-detected

Why? To avoid duplicate meta tags and conflicting structured data. When one of these plugins is active, it handles all SEO output, and Herodotus steps aside.

If you use a different SEO plugin not listed above, check for duplicate meta tags using: