Skip to content

Only output Organization/Person JSON-LD schemas on the homepage#613

Merged
duncanmcclean merged 2 commits into
7.xfrom
json-ld-entity-output
Jun 19, 2026
Merged

Only output Organization/Person JSON-LD schemas on the homepage#613
duncanmcclean merged 2 commits into
7.xfrom
json-ld-entity-output

Conversation

@duncanmcclean

@duncanmcclean duncanmcclean commented Jun 19, 2026

Copy link
Copy Markdown
Member

While not mandatory, Google recommends that the Organization schema is only output on the homepage, or another page specifically about the organization, like an "About" page:

We recommend placing this information on your home page, or a single page that describes your organization, for example the about us page. You don't need to include it on every page of your site.

This PR makes it so the Organization and Person schemas are only output on the homepage, rather than every page.

If you've chosen to disable SEO Pro's entity information, you'll probably want to put your custom JSON-LD schema in the relevant entry directly (eg. your homepage), rather than in the "JSON-LD Schema" textbox in site defaults, as that's designed to be output on every page.

CleanShot 2026-06-19 at 10 49 58

Related: #605

@duncanmcclean duncanmcclean marked this pull request as draft June 19, 2026 09:45
`LocalBusiness` and `SoftwareApplication` are bad examples here. They too should be output on individual entries.

Replaced with `WebSite` and `SiteNavigationElement` which are intended to be output across all pages.
@duncanmcclean duncanmcclean changed the title Only output Organization/Person JSON-LD schema on the homepage Only output Organization/Person JSON-LD schemas on the homepage Jun 19, 2026
@duncanmcclean duncanmcclean marked this pull request as ready for review June 19, 2026 10:18
@duncanmcclean duncanmcclean merged commit 8b7003d into 7.x Jun 19, 2026
17 checks passed
@duncanmcclean duncanmcclean deleted the json-ld-entity-output branch June 19, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant