Technical for WordPress websites

How do I add structured data to a WordPress website?

The short answer

Most WordPress sites add structured data through an SEO plugin, which outputs organization, website, article and breadcrumb markup and lets you set the schema type for each page. Add anything it doesn't cover, such as LocalBusiness or service details, through the plugin's settings, a dedicated schema plugin or custom JSON-LD, and check the result with Google's Rich Results Test so that no two plugins mark up the same thing.

Where WordPress structured data usually comes from

WordPress itself outputs very little structured data. It typically comes from:

  • An SEO plugin, which usually adds a connected set of markup for the organization or person behind the site, the website, each page or article, and breadcrumbs.
  • The theme, some of which add their own markup.
  • Other plugins, such as WooCommerce for products, event, recipe or review plugins, and page builders.
  • Custom code, added by a developer as JSON-LD in the page head.

How to set it up well

Start with the SEO plugin's site settings. Set whether the site represents an organization or a person, and fill in the name, logo and profiles. For a local business, many plugins (or their add-ons) let you add LocalBusiness details such as address, phone and opening hours.

Set page types. Most SEO plugins let you choose a schema type per page or post, for example an about page, a contact page or an article. Leave service pages as ordinary web pages unless a specific type clearly fits.

Add what's missing. For details the plugin doesn't cover, use a dedicated schema plugin or custom JSON-LD. Keep the markup consistent with what the page actually shows; Google's guidelines require structured data to match visible content.

Check it and avoid conflicts

Run important pages through Google's Rich Results Test and the Schema Markup Validator. Look for:

  • Two Organization or LocalBusiness items with different details.
  • Duplicate Article or Product markup from a theme and a plugin.
  • Errors or missing required fields.

If two sources mark up the same thing, turn one off. See whether two plugins can output conflicting schema.

What structured data will and won't do

Structured data helps search engines understand a page and makes it eligible for some rich results. Google says no special markup is needed to appear in its AI features. OpenAI hasn't said that ChatGPT relies on schema. Clean, consistent markup is likely to help any system reading the page, but it won't make a thin page useful. Note that FAQ rich results stopped showing in Google in 2026, so FAQ markup is no longer a route to extra space in results.

For the general picture, see what schema a business website should have and whether schema helps AI visibility.

Related questions

More questions from WordPress websites about AI crawlers and technical AI SEO

Schema and structured data - questions every business asks

Next questionIs WordPress a good platform for AI search visibility?

Find out whether ChatGPT and other AI tools recommend your WordPress website

Get an AI visibility audit showing whether ChatGPT and other AI tools recommend your WordPress website when people ask for what you offer, which competitors they name instead, and how you compare.

Request my AI visibility audit