Session Overview

Sam's site (aguiarinjurylawyers.com) had 21 pages with real content hidden behind RankMath 301 redirects. These pages had been redirected to other pages on the site, burying their original content. The goal: reverse the redirects, repurpose each page with a new focus keyword (to avoid cannibalizing the redirect destination), refresh the content using the SA template and all brand skills, set RankMath SEO fields, and deploy everything to WordPress.

The session was split into two batches. Batch 1 (10 pages) was fully completed. Batch 2 (10 pages) has not been started.


What Was Accomplished

Discovery Phase

Queried the wp_rank_math_redirections table via a temporary Code Snippets PHP snippet (created via REST API, then deleted). Found 348 total redirections. Cross-referenced against all 523 pages/posts. Identified 21 pages with real content hidden behind redirects (the other 43 matches were path normalization redirects).

Batch 1: Keyword Pivot Strategy

Built a keyword pivot strategy for 10 pages. Each page got a new focus keyword that does not compete with the redirect destination. Strategy documented in /home/user/workspace/batch1_keyword_pivots.md.

Key decisions:

Batch 1: Content Rewrites

All 10 pages rewritten in parallel using subagents. Each used the SA template, fresh statistics with inline citations, FAQ sections with schema, and followed all brand/website rules.

Files: /home/user/workspace/rewrites/page_XXXXX_content.html and page_XXXXX_meta.json for each page.

Batch 1: Deployment

All 10 deployed to WordPress via REST API. Results in /home/user/workspace/deploy_results_batch1.json.

Batch 1: RankMath SEO Meta

Three approaches tried. REST API reported success but only 3/10 actually persisted. SSH with WP-CLI was the definitive solution. All 10 confirmed via direct DB query.