Sam reported that the mobile dropdown link for the Bigger Share Guarantee page was failing. The expected canonical URL is https://aguiarinjurylawyers.com/about-us/bigger-share-guarantee/. This is a core page with sitelinks pointing to it, so the problem was urgent and revenue-impacting. The page was initially presenting as a redirect failure from the mobile dropdown. During diagnosis, the issue evolved from a mobile-menu question into a critical site redirect incident involving WordPress, RankMath, WPCode, WP Rocket, Cloudflare headers, and Cloudways hosting behavior.
Important correction: an earlier handoff on this same Notion page concluded that Cloudflare was the root cause. That was incomplete and later proven wrong. The true source was an existing WPCode PHP redirect snippet and compiled WPCode option data, plus stale cached 301 responses for the exact bare canonical URL.
The WordPress page record for the BSG page is correct. Page ID 9286 is published, has slug bigger-share-guarantee, parent 46, and WordPress resolves get_page_by_path("about-us/bigger-share-guarantee") to page 9286.
The canonical URL with a cache-busting query string returns a direct 200 with zero redirects. Verified URL: https://aguiarinjurylawyers.com/about-us/bigger-share-guarantee/?fresh=5. The response title was Bigger Share GuaranteeĀ® | Sam Aguiar Injury Lawyers.
The bare canonical URL, https://aguiarinjurylawyers.com/about-us/bigger-share-guarantee/, was still returning a cached Cloudflare HIT for the old 301 at the last check. That cached response sent the URL to https://aguiarinjurylawyers.com/about-us/bigger-share-guarantee-kentucky/. The querystring version bypassed that cached object and returned 200, which proves the origin redirect configuration was corrected but the exact bare URL cache object still needed purging or expiration.
The duplicate malformed source URL /about-us/about-us/bigger-share-guarantee/ now redirects to the correct canonical URL, not to the temporary -kentucky URL.
The BSG page record was restored to the correct slug. The page ID is 9286. The intended canonical URL remains https://aguiarinjurylawyers.com/about-us/bigger-share-guarantee/. No content rewrite was performed on the page itself.
A bad temporary URL target was removed from the existing WPCode redirect system. The relevant WPCode snippet is post ID 60660, titled Fix: 4xx Batch 301 Redirects - April 2026. The bad line originally pointed a duplicate malformed URL to https://aguiarinjurylawyers.com/about-us/bigger-share-guarantee-kentucky/. After approval, the line was corrected to point to https://aguiarinjurylawyers.com/about-us/bigger-share-guarantee/.
The compiled WPCode and RankMath option values were also corrected after the post-row edit did not take effect. Database inspection showed the temporary -kentucky URL remained in these option rows:
wp_options.option_name = rank-math-options-generalwp_options.option_name = wpcode_snippetswp_options.option_name = rank_math_backups, backup only, not the live redirect sourceAfter explicit approval, a targeted string replacement was made in the live option values only:
https://aguiarinjurylawyers.com/about-us/bigger-share-guarantee-kentucky/
was replaced with:
https://aguiarinjurylawyers.com/about-us/bigger-share-guarantee/
The live option rows rank-math-options-general and wpcode_snippets were updated. rank_math_backups still had a backup reference before the final check, but it is not the live execution source. If future audits search for the string, confirm whether it remains only in backup data before treating it as active.