AIOSEO Compatibility Deep Dive
All in One SEO (AIOSEO) is one of the supported SEO data sources in the pipeline, alongside Yoast SEO, Rank Math, and SEOPress. This article covers the technical details of how the AIOSEO 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 another SEO plugin, but it matters for plugins that need to read the data programmatically.
How the pipeline handles AIOSEO
Automatic Internal Links for SEO detects AIOSEO automatically from version 2.0.7 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 postmeta-based integrations. The performance characteristics are similar for most sites, but extremely large sites (10,000+ pages) may see slightly different SYNC timing.