Parsely / Parsely/wp-parsely

Double Schema output combined with Yoast SEO

Open
#997 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs Feedback wp-parsely
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 NewsArticle you'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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.