Structured data guide

Review schema in WordPress: Review and AggregateRating explained

By Anis Harbaoui, SEO specialist · Published 2 November 2026 · Updated 12 November 2026

Review schema is structured data that marks up a review or an average rating of a specific item, using the Schema.org types Review and AggregateRating. When Google accepts it, the result can show stars and a rating count. It only works for certain item types, and reviews a business writes about itself are not eligible.

Key takeaways
  • Use Review for a single review and AggregateRating for an average of many.
  • Only some item types qualify, such as Product, Recipe and Software App.
  • Reviews a business hosts about itself do not get stars for LocalBusiness or Organization.
  • Every rating in the markup must be visible on the page and real.

What is the difference between Review and AggregateRating?

Review describes one person’s review: who wrote it and the rating they gave. AggregateRating describes the average across many reviews, with a count. A product page with 40 customer reviews uses AggregateRating, and may also list a few individual Review items.

"aggregateRating": {
  "@type": "AggregateRating",
  "ratingValue": "4.6",
  "reviewCount": "40"
}

Which pages can show review stars in Google?

Google supports review snippets on a defined list of types, including Book, Course, Event, Movie, Product, Recipe and Software App, plus LocalBusiness and Organization in limited cases. A plain blog post or service page does not qualify on its own.

What are self-serving reviews?

Reviews about a business that the business itself controls. If a LocalBusiness or Organization shows reviews about itself on its own site, directly or through an embedded widget, those pages are not eligible for review stars. This is why adding a Google reviews widget to your homepage does not produce stars in search.

What fields are required?

For a Review: author, reviewRating with a ratingValue, and the item being reviewed with its name. For an AggregateRating: ratingValue, either ratingCount or reviewCount, and the item being reviewed with its name. When the rating is nested inside a Product or SoftwareApplication node, the parent supplies the item.

What are the common review schema mistakes?

The ones we see most on WordPress sites:

  • marking up ratings that are not shown on the page
  • hard-coding a rating that never changes
  • adding stars to the homepage or a service page about your own business
  • two plugins printing two different ratings for the same product

That last one is a duplicate-markup problem. See how to find and fix duplicate schema.

How to do it with NexalSEO

NexalSEO only outputs ratings it can back with real data:

  1. WooCommerce products: keep Product schema on WooCommerce products enabled under Nexal SEO → Schema. The Product node includes an aggregateRating built from your approved customer reviews.
  2. Software and plugin pages: the SoftwareApplication fields accept a rating value and count. Fill them only with ratings you can point to, such as your WordPress.org reviews.
  3. Test the page in the Rich Results Test. Our guide to schema validation tools explains what each tool checks.

Frequently asked questions

Can I add review stars to my service pages?

Not for reviews about your own business. Google treats those as self-serving for LocalBusiness and Organization, so they are not eligible for stars.

Do review stars improve rankings?

No. They can change how a result looks and how often people click it. They do not change its position.

Can I copy reviews from another site into my markup?

Only if they are shown on your page and you have the right to use them. The markup must match what visitors can see.

How do you fix “Missing field itemReviewed”?

Search Console shows Missing field “itemReviewed” when a Review or AggregateRating is not attached to the thing being rated. It usually comes from a star-rating widget, theme or review plugin that prints a standalone AggregateRating block with no product, recipe or other item around it.

  1. Find the source. Run the URL through the Rich Results Test and look at which script block holds the rating. View the page source to see which plugin or theme printed it.
  2. Nest it inside the item. The best fix is to put the rating in the item’s own aggregateRating or review property, for example inside your Product node.
  3. Or add itemReviewed. If the rating has to stay separate, add "itemReviewed": { "@type": "Product", "name": "..." }, or reference the item’s @id.
  4. Remove ineligible ratings. If the rated item is your own business on its own site, the markup is not eligible for stars anyway, so remove it instead of fixing it.

Then click Validate fix in the Search Console report. If two plugins print ratings for the same product, see duplicate schema.

Related guides

SoftwareApplication schema

Ratings for plugins and apps.

WooCommerce Product schema

Brand, GTIN and validation.

Schema not showing?

Why stars and rich results go missing.

Ratings from real data only

The NexalSEO WordPress SEO plugin builds product ratings from your approved WooCommerce reviews, inside one connected graph. See the schema documentation.

See the schema module