AIOSEO Compatibility Deep Dive
All in One SEO (AIOSEO) is the third supported SEO plugin in the pipeline, alongside Yoast SEO and Rank Math. This article covers the technical details of how the integration works and what to expect.
How AIOSEO stores focus keywords differently
The most important technical difference between AIOSEO and the other two supported plugins is how focus keywords are stored.
Yoast SEO stores the focus keyphrase in the WordPress postmeta table under the key _yoast_wpseo_focuskw. It is a simple string value attached to each post.
Rank Math stores the primary focus keyword in postmeta under rank_math_focus_keyword. Also a simple string value.
AIOSEO does not use postmeta for keyphrases. Instead, it maintains its own custom database table ({prefix}_aioseo_posts) with a keyphrases column containing a JSON object. The primary keyphrase is stored at the path focus.keyphrase within that JSON structure.
This difference is transparent to users — you enter the keyphrase in the AIOSEO editor panel the same way you would in Yoast or Rank Math — but it matters for plugins that need to read the data programmatically.
How the pipeline handles AIOSEO
Automatic Internal Links for SEO v2.0+ detects AIOSEO automatically through the function_exists('aioseo') check. When AIOSEO is detected, the plugin queries the aioseo_posts table instead of postmeta, parses the JSON keyphrases field, and extracts the primary keyphrase.
The linking engine then operates identically regardless of which SEO plugin provided the data. The same matching logic, the same exclusion rules, the same priority system, and the same anchor text generation apply. The only difference is the data source.
Setup workflow for AIOSEO users
- Install and activate All in One SEO.
- Add focus keyphrases to your content through the AIOSEO editor panel.
- Install Automatic Internal Links for SEO — the plugin detects AIOSEO automatically, no configuration needed.
- Run SYNC to build internal links from your AIOSEO keyphrases.
- Verify that links appear correctly on the frontend.
Limitations
AIOSEO stores primary and secondary keyphrases in the same JSON field. The pipeline reads the primary keyphrase only. Secondary keyphrases are not used for link generation.
AIOSEO's JSON storage format means that bulk operations on keyphrases require different database queries than Yoast or Rank Math. The performance characteristics are similar for most sites, but extremely large sites (10,000+ pages) may see slightly different SYNC timing.