Internal link report
internal_link_reportIdentify internal linking issues in WordPress content: find orphans, dead ends, links to non-public posts, and suggest related content pairs that lack links. Read-only analysis based on content bodies.
Instructions
Build the internal link graph across published content and report orphans (nothing links to them), dead ends (they link to nothing), links pointing at drafts/private/trashed items, and link suggestions: related pairs (shared categories/tags and title keywords) with no link between them. Read-only — suggestions only; add links with update_content. Based on content bodies, so menu, widget and archive links are not counted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum published items to load across all types (most recent first). The graph is only as complete as this. | |
| types | No | Content types to include in the graph. | |
| site_id | No | Which configured WordPress site to act on. Optional — with a single site configured it is used automatically; with several, the default site is used unless you name one. Run list_sites for valid ids. | |
| max_rows | No | Maximum rows in each list (orphans, dead ends, and so on). | |
| max_suggestions | No | How many link suggestions to return. |