Double Schema output combined with Yoast SEO
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 66
- Forks
- 36
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 16
Description
Describe the bug
When a site runs Yoast SEO, potentially combined with Yoast's News SEO add-on as well as WP Parsely, both plugins output Schema.org JSON+LD blobs.
To Reproduce
An example of that can be found here (site running Newspack):
- See this article on the Oaklandside.
- You can run it through the Schema validator. If you click
NewsArticleyou'll see that the output is there twice... - Of course, if you just look at the source of that page, you can see it too :)
Expected behaviour
Ideally, only one set of Schema should be output. As Yoast SEO's seems more complete, I think that should work, but I'm not sure if Parsely can work with that?
Happy to discuss good solutions!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Oaklandside article and its Schema validator result to confirm the duplicate NewsArticle output. Inspect how WP Parsely and Yoast SEO each emit Schema.org JSON-LD, then determine a compatible integration or suppression point; done means the page exposes only one appropriate Schema output without breaking Parse.ly metadata.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100