rank-math/list-404-logs returns logged 404 requests with the URI, hit count and timestamp — and, in advanced monitor mode, the referer, user agent and IP.
Sorting by hit count is what turns a log into a task list.
At a glance
| Ability | rank-math/list-404-logs |
| Toolset | Rank Math — toolset/rank-math |
| Group | Rank Math › Redirections & 404s |
| Requires | Rank Math SEO, active on the site |
| Capability | manage_options |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
How it works
Most 404s do not matter. Scanners probing for /wp-admin/setup-config.php, crawlers following ancient links, malformed URLs from a broken email — none of them are worth a redirect.
The ones that matter are the URLs real people reach repeatedly, and hit count is what separates them. A path hit four hundred times is a link somebody published; one hit twice is noise.
The referer, where the monitor is in advanced mode, is the other half of the story: it names the page the visitor came from, which often makes the fix a corrected link rather than a redirect.
Advanced mode stores IP addresses, which is personal data under most privacy regimes. That is a decision for the site owner and is made in the 404 monitor settings rather than here.
Once you know what to redirect, rank-math/create-redirection is the next step and rank-math/delete-404-logs clears the entries afterwards.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
order_by | string | No | Sort field, for example times_accessed. |
page | integer | No | 1-based page number. |
per_page | integer | No | Rows per page. |
What comes back
| Name | Type | What it is |
|---|---|---|
logs | array | One entry per logged URI: the path, hit count, timestamp, and referer, user agent and IP in advanced mode. |
total | integer | How many entries exist. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation. |
Example
Ask your assistant:
What URLs are people hitting that do not exist?
It resolves to one call:
{
"ability": "rank-math/list-404-logs",
"parameters": {
"order_by": "times_accessed",
"per_page": 50
}
}Worth knowing
- Sort by hit count. Most 404s are scanner noise.
- The referer often makes the fix a corrected link rather than a redirect.
- Advanced mode stores IP addresses — a privacy decision made in the monitor settings.
- Read-only.
Related abilities
- Create Rank Math Redirection — redirect what matters
- Delete Rank Math 404 Log Entries — clear the entries afterwards
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category