WPGraphQL Yoast SEO Addon

Plugin Banner

WPGraphQL Yoast SEO Addon

by ash_hitch

Download
Description

This plugin enables Yoast SEO Support for WPGraphQL

This is an extension to the WPGraphQL plugin (https://github.com/wp-graphql/wp-graphql) that returns Yoast SEO data.

Currently returning SEO data for:

  • Pages
  • Posts
  • Custom post types
  • Products (WooCommerce)
  • Categories
  • Custom taxonomies
  • WooCommerce Products
  • Yoast Configuration

    • Webmaster verification
    • Social profiles (including Mastodon)
    • Schemas
    • Breadcrumbs
    • Advanced robots directives (noarchive, noimageindex, nosnippet)
    • SEO analysis scores and link counts
    • Structured head JSON (html + json)
    • Open Graph locale, FB App ID, enabled toggle
    • Twitter creator/site handles, enabled toggle
    • Pagination rel_next/rel_prev
    • Search results, author/date archive noindex settings
    • Schema article type per content type
    • Sitemap, Index Now, and analysis toggles
    • Premium: per-archive social settings (title/description/image)

    Please Note: Yoast and WPGraphQL and their logos are copyright to their respective owners.

  1. Install & activate WPGraphQL
  2. Install & activate Yoast SEO
  3. Upload plugin to the /wp-content/plugins/ directory

    See GitHub Repo for example queries

Invaluable for our Headless builds

By liamrichardsonfk on August 5, 2026

I don't think our headless builds would work without this plugin. Has made managing SEO for our sites as easy as a traditional WordPress builds. Great stuff!

Great Yoast SEO Integration

By Dave Ryan (dryanpress) on February 13, 2021

Well-maintained and does exactly what you'd hope for -- integrate Yoast data into WP-GraphQL Types!

Must have for Headless WordPress sites

By Jason Bahl (jasonbahl) on November 15, 2020

WordPress SEO by Yoast is a must-have plugin for most WordPress sites, and if you're taking your WordPress site headless with Gatsby or another JavaScript framework, but still want your site to be SEO friendly, this is a must-have plugin! Ash does a great job maintaining it, adding new features, and making sure it's useful for users of WPGraphQL and Yoast.
Back to top