Yoast SEO 28.3 — docs(schema-aggregator): Document new schemamap.xml site-root URL - #420
Open
claude[bot] wants to merge 1 commit into
Open
Yoast SEO 28.3 — docs(schema-aggregator): Document new schemamap.xml site-root URL#420claude[bot] wants to merge 1 commit into
claude[bot] wants to merge 1 commit into
Conversation
Yoast SEO 28.3-RC2 adds a new rewrite-based URL at the site root (`schemamap.xml`) that serves the same XML as the existing REST endpoint.
Deploying yoast-developer with
|
| Latest commit: |
9017638
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://dd9f5dcf.yoast-developer.pages.dev |
| Branch Preview URL: | https://rc-sync-wordpress-seo-28-3-r.yoast-developer.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RC docs sync — 28.3-RC2
Product: wordpress-seo
Area: schema-aggregator
Source evidence:
src/schema-aggregator/user-interface/schemamap-xml-rewrite-integration.php(new file): registers a WordPress rewrite rule that servesschemamap.xmlat the site root viaYoast_Dynamic_Rewrites, usingFront_End_Conditional(public, non-admin)src/schema-aggregator/application/schema_map/schema-map-xml-provider.php(new file): provider that builds and caches the XML, shared by both the REST route and the new rewrite-based URLChanges in this PR
docs/features/schema/schema-aggregator/api-reference.md: adds a new "Get XML Schemamap — site-root URL (since 28.3)" section above the existing REST endpoint section, including response format, headers, and a note that both URLs share the same cachedocs/features/schema/schema-aggregator/overview.md: updates the "Schemamap" subsection to list both the site-root URL and the REST endpoint, with the example XML updated to show theurlsetformat both endpoints returnVerification
yarn buildpasses locally in this workflow.yarn lintclean for files touched by this PR.Reviewer notes
src/schema-aggregator/user-interface/, which would normally trigger the "path contains/user-interface/" heuristic for internal surface. However, the class usesFront_End_Conditional(not admin), has no@internalannotation, and no permission callback — it is unambiguously public. The/user-interface/layer in this codebase is the DDD presentation layer for serving HTTP responses, not an admin-only signal.robots.txtstill references the REST endpoint. If that changes in a future RC therobots-txtarea docs will need a separate update.schemamap.xmlURL and the REST endpoint share the same cached XML via the newSchema_Map_Xml_Providerapplication service. No doc change was needed to reflect this cache-sharing in the existing filters docs (the behavior of filters likewpseo_schema_aggregator_cache_ttlis unchanged).Sibling PRs from this RC
wpseo_disable_xml_sitemap_cache_primingfilterwpseo_indexable_indexing_failedactionAuthored by the RC docs-sync agent. Not auto-merged — requires human review. Run: https://github.com/Yoast/developer/actions/runs/30983367949