Improve your posts
Structured data and rich results: what to switch on and how to check it
How OnlyAI SEO prints Article, FAQ and breadcrumb data, how to mark a page as a Product, Recipe, Event, Job and more with the Rich result panel, and how to test the result.
Time
10 minutes
What you need
- The plugin installed
Structured data (JSON-LD) tells Google, Bing and AI assistants what a page is: an article with an author and dates, a product with a price, a recipe, an event. OnlyAI SEO prints it for you, and prints nothing that would be invalid.
Site-wide settings
- Open OnlyAI SEO, Settings, Schema & FAQ.
- Leave Add structured data to my pages on. It prints one JSON-LD graph in the page head.
- Choose whether posts are Articles or Blog posts or News articles, and whether the site is published by an organisation or a person. Add a publisher name (or leave it empty to use your site title).
- Press Save schema settings.
Mark one page as a Product, Recipe, Event and more
- Open the post in the block editor and the Post tab.
- Open Rich result (OnlyAI SEO) and choose what the page is.
- Fill in the fields. The panel lists what is still missing.
- The matching data is printed only when every field Google needs is filled in. A recipe also needs a featured image.
| Type | What you fill in |
|---|---|
| Product | Price, currency, availability, brand, rating |
| Recipe | Ingredients, steps, times, calories |
| Event | Date, venue or online address, tickets |
| Review | What is reviewed, your rating on any scale, reviewer, pros and cons |
| Course | Provider, format, hours, price |
| Video | A YouTube or Vimeo link or file; thumbnail, length and upload date are filled in for you |
| Software or app | Category, systems, version, price, rating from real users |
| Job posting | Title, description, company, address or remote with the country, pay, employment type, apply-by date |
| Service | Kind, provider, area served, price |
| Podcast | One episode with its audio file, length and series, or the whole podcast with its feed |
| Dataset | Name, description of at least 50 characters, creator, licence, keywords, download, period, place |
Video data without typing
A post that already embeds a YouTube or Vimeo video gets video data on its own (up to three per page). Switch it off in Settings, Schema & FAQ, Video data from embedded videos.
Check your work
- In the editor, open Previews & data (OnlyAI SEO): it lists the structured data the page prints.
- Once the post is published, use the link to Google's Rich Results Test.
- Want something we do not have? The same panel has a box for your own JSON-LD. It is checked when you save (valid JSON, each item with an
@type, 20 KB at most) and printed safely.
Another SEO plugin is printing the data
If Yoast, Rank Math or another SEO plugin prints your structured data, OnlyAI SEO steps aside so you never get two graphs. On a product page WooCommerce prints its own Product data, so a Product block is not added there.