seopod-internal-linking
Submit target URLs to compute vector embedding cosine similarity and safely publish in-paragraph links to WordPress.
> /seopod-internal-linking
Generates semantic anchor suggestions from relevant domain articles with guarded live CMS writeback.
Inputs & Prerequisites
article_id receiving internal links.
Workflow & Outputs
1. Vector Similarity Matching
Calls seopod_get_internal_link_suggestions(domain_id, target_url). Compares embeddings across domain content using cosine similarity. Applies 1.25x boost if target is tagged as money page.
2. Anchor Sentence Extraction
Surfaces topically relevant source articles with candidate sentences and contextual anchor text. Filters out existing links to prevent duplicates.
3. Review & Stage Mutations
Operator inspects suggested anchor text and calls seopod_stage_link_mutation to queue approved changes.
4. Guarded Live Writeback
Dry-runs first with confirm_live_publish=False for sentence diff preview. On explicit user confirmation, writes live to WordPress with post revision snapshot ID for rollback.