Skip to content

fix(faustwp): keep posts and pages in Rank Math sitemaps when URL rewrites are on - #2664

Merged
josephfusco merged 2 commits into
canaryfrom
fix/1885-rank-math-sitemaps
Oct 20, 2026
Merged

josephfusco merged 2 commits into
canaryfrom
fix/1885-rank-math-sitemaps

Conversation

@josephfusco

Copy link
Copy Markdown
Member

Fixes #1885

Rank Math caches sitemaps, so sites that already hit this need to save a post or clear Rank Math's sitemap cache after updating before the missing entries come back; I checked the fix against Rank Math 1.0.280's source, not on a live site.

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Assisting with tracing how Rank Math drops sitemap entries, writing the filter and tests, and running the plugin lint and static analysis.

@josephfusco
josephfusco marked this pull request as ready for review October 20, 2026 12:54
@josephfusco
josephfusco requested review from a team and colinmurphy as code owners October 20, 2026 12:54
@josephfusco
josephfusco merged commit 288a7b1 into canary Oct 20, 2026
16 checks passed
@josephfusco
josephfusco deleted the fix/1885-rank-math-sitemaps branch October 20, 2026 12:54
@github-actions github-actions Bot mentioned this pull request Oct 20, 2026
@josephfusco josephfusco added [Type] Bug An existing feature is broken [Area] WordPress Plugin Issues for the Faust.js WordPress plugin [Area] Compatibility WordPress, Next.js, Node.js, and third-party compatibility labels Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Area] Compatibility WordPress, Next.js, Node.js, and third-party compatibility [Area] WordPress Plugin Issues for the Faust.js WordPress plugin [Type] Bug An existing feature is broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sitemaps.xml breaks upon updates made in RankMath

1 participant