SEO, Meta Tags & Structured Data

Automatic meta tags, JSON-LD, and XML sitemap

SEO & Meta Tags

The plugin automatically injects rich meta tags, Open Graph data, Twitter Cards, and JSON-LD structured data on every page of your WordPress site. This helps the web crawler extract the right data and improves how your pages appear in search engines and social media shares.

Open Graph tags

Complete Open Graph metadata is injected on every post, page, and product:

  • og:locale β€” the content language (e.g. en_US)
  • og:title β€” the post/page/product title
  • og:description β€” the excerpt or trimmed content
  • og:url β€” the canonical URL
  • og:type β€” article for posts/pages, product for WooCommerce products
  • og:site_name β€” your WordPress site name
  • og:image β€” the featured image, with og:image:width, og:image:height, and og:image:alt

Twitter Card tags

Matching Twitter Card metadata for rich previews when your pages are shared:

  • twitter:card β€” summary_large_image (uses the featured image)
  • twitter:title β€” the post title
  • twitter:description β€” the excerpt or trimmed content
  • twitter:image β€” the featured image URL

Article metadata

For posts and articles, additional tags provide publishing context:

Timestamps

article:published_time and article:modified_time in ISO 8601 format

Taxonomy

article:section (category), article:tag (tags), article:author (display name)

Standard meta tags

The plugin also injects standard HTML meta tags:

  • meta name="author" β€” the post author's display name
  • meta name="language" β€” the site language
  • meta name="category" β€” the primary category
  • meta name="keywords" β€” taxonomy terms (tags, categories) with first-letter capitalization

Custom field mappings

In the Facet Mapping admin, you can map WordPress custom fields, taxonomies, and meta values to custom opensolr:* meta tags. The crawler reads these tags to populate facetable fields in your search index.

Example: mapping a "Brand" taxonomy as brand_ss injects on each product page:

<meta property="opensolr:brand_ss" content="Acme Corp">

JSON-LD structured data

The plugin injects Schema.org JSON-LD on every page for rich results in Google, Bing, and other search engines:

Article schema

Posts and pages get Article schema with headline, author, publisher, datePublished, dateModified, image, and description.

Product schema

WooCommerce products get Product schema with name, description, image, and Offer including price, currency, and availability.

BreadcrumbList

Every page gets a BreadcrumbList schema showing the navigation path β€” helps search engines display breadcrumb trails in results.

XML Sitemap

The plugin generates an XML sitemap at /opensolr-sitemap.xml that the web crawler uses as its starting point:

  • All published content β€” posts, pages, and WooCommerce products from your selected content types
  • 500 URLs per chunk β€” automatically paginated into sitemap index files for large sites
  • Multilingual support β€” includes all translations per content type when WPML or Polylang is active
  • Last modified dates β€” each entry reflects the actual last-update timestamp
Automatic updates

The sitemap updates automatically when you publish, update, or unpublish content. No manual regeneration needed. The crawler reads the latest version on every crawl run.

WordPress footer on search page

The plugin hides the default WordPress footer on the /opensolr-search page to provide a clean, distraction-free search experience. This only affects the search page β€” all other pages keep the normal footer.

All automatic

Every meta tag, JSON-LD block, and sitemap entry is generated automatically from your existing WordPress content. No manual configuration is needed β€” the plugin reads post titles, excerpts, featured images, categories, and tags to build complete metadata.

For related topics, see Data Crawler (uses your sitemap and meta tags), Facets & Filters (custom field mappings), and WooCommerce (product schema).