Fixed the Daily Sitemap Health Check failure for aguiarinjurylawyers.com. The failing GitHub Action was still reporting video-sitemap.xml as 404 because the browser-facing Cloudways app had Rank Math Pro video sitemap enabled and legacy toggles on, but the current Rank Math setting sitemap.video_sitemap_post_type was empty. Rank Math therefore omitted the video sitemap from sitemap_index.xml and served the child sitemap as 404.
Before: public curl showed sitemap_index.xml 200 but video-sitemap.xml 404, and sitemap_index.xml did not contain video-sitemap.xml.
Root-cause evidence: Rank Math modules included video-sitemap, old options video_sitemap_page and video_sitemap_post were on, 44 published pages still had rank_math_schema_VideoObject, but RankMath Helper returned an empty sitemap.video_sitemap_post_type array.
After: public curl with Googlebot UA returned sitemap_index.xml HTTP 200, video-sitemap.xml HTTP 200, video-sitemap.xml valid XML with 41 loc entries, and sitemap_index.xml contains https://aguiarinjurylawyers.com/video-sitemap.xml.
Clean routine verification: ran the same routines-build/routines/github/sitemap_health_check/run.py from a temp checkout of origin/main. It wrote outputs/2026-05-23/sitemap-health-check.md and exited 0. Report headline: STATUS GREEN, all 5 sitemaps return HTTP 200 with valid XML. Totals: post 207, page 316, category 17, video 41.
The workflow used May 12 as the diff base because the May 22 snapshot had empty child sitemaps after the site returned 503s, and the recovery fallback skipped empty snapshots back to the last non-empty baseline. That makes the diff an 11-day comparison, not a one-day removal event. The video sitemap piece was worse because current state had zero video URLs until this fix, so the pre-fix report showed all 55 May 12 video URLs removed. After the fix, the clean rerun shows video +1 and -15 versus May 12, not -55.
Browser-facing backup: /home/master/sitemap-health-video-fix-20260523-165206 on 155.138.233.18.
Older /var surface backup: /home/admin/sitemap-health-video-fix-20260523-164850 on ssh.app21392.cloudwayssites.com.
Rollback is to remove wp-content/mu-plugins/sal-rankmath-video-sitemap-compat-20260523.php from the browser-facing app and restore rank-math-options-sitemap.before.json if needed.