Phase 4 Β· Guide #38

404 Monitor: logged errors, referrers & fixes

Turn real front-end 404 traffic into actionable work: see which URLs break, what linked to them, promote a row into a 301 redirect, or silence noise with ignore rulesβ€”inside Tools & Analytics β†’ 404 Monitor (tab=404-monitor).

9 min readRedirects Β· URL MedicNo inline scripts required

Before you start

Open SEO Rank Genius β†’ Tools & Analytics, then choose the 404 Monitor tab. Deep-link anytime with:

/wp-admin/admin.php?page=seo-link-genius-tools&tab=404-monitor

Requirements You need an administrator-equivalent capability to change monitoring, clear the log, ignore URLs, or spawn redirects. Monitoring itself is controlled by the monitor_404_enabled setting saved through URL Medic infrastructure (the ON / OFF pill on this screen).
  • Unique 404 URLs counts distinct missing paths in the rotating log (up to the last 100 entries loaded for the table).
  • Total Hits sums hit_count across those rowsβ€”use it to spot high-volume breakage.
  • Human / Bot splits user agents with a lightweight bot detector so you can prioritize visitor-facing issues.
  • Ignored surfaces how many URLs you have excluded from the noisy list via the ignore action.

Monitor screen

The header strip mirrors production: a status pill (ON when logging is active), plus Clear Log to wipe stored 404 events after you have triaged them. Below that, the four KPI tiles summarize volume before you scroll the table.

/wp-admin/admin.php?page=seo-link-genius-tools&tab=404-monitor
SEO Rank Genius β€Ί Tools & Analytics β€Ί 404 Monitor

404 Monitor

Track, analyze, and fix 404 errors on your site

ON Clear Log
Unique 404 URLs
12
Total Hits
1,842
Human / Bot
428 / 94
Ignored
3

404 Error Log

Table lists URL, primary referrer, hits, last seen (humanized), and per-row actions.

Create redirectIgnore URLBot badge

Mock of the tab header, monitor toggle, KPI strip, and log cardβ€”aligned with tab-404-monitor.php.

Logged errors & referrers

Each table row is keyed by the missing URL string. The visible Referrer column shows the latest referrer captured for that URL (or an em dash when empty). Hits increments every time the monitor records another access to the same missing path. Last Seen uses a friendly relative time (for example, β€œ2 hours ago”).

Crawler traffic that matches common bot signatures receives a compact BOT badge in the actions column so you do not chase hits that will never convertβ€”but you can still redirect those URLs if you want clean crawl paths.

…/seo-link-genius-tools&tab=404-monitor Β· log + referrers

404 Error Log Β· 12 entries

URLReferrerHitsLast SeenActions
/old-services/plumbinghttps://example.com/blog/best-plumbers21418 min agoβ†»πŸ‘
/wp-content/uploads/2019/report.pdfβ€”571 day agoπŸ€– BOTβ†»πŸ‘

Top Referrers Causing 404s

Aggregated from referrer arrays on each log entry.

https://example.com/blog/312 hits
https://newsletter.vendor.com/campaign88 hits

Table columns and the Top Referrers Causing 404s panel mirror the PHP template; referrers aggregate across the latest log slice.

Create a fix redirect

Click the blue redirect control on a row (randomize icon in wp-admin) to launch the quick modal. It pre-fills the problematic source URL and asks for a Target URL. Confirming calls the redirects AJAX endpoint with a 301 type, enabled by defaultβ€”the same pipeline used elsewhere in URL management.

  1. Paste or type the real destination (relative paths like /services/plumbing work when they resolve on your host).
  2. Submit; success toasts echo source β†’ target so you can screenshot proof for clients.
  3. For bulk edits, open URL Redirects Manager after the quick win to adjust match modes or ordering.
Best practice Pair Monitor hits with Link Reports to confirm no internal template still prints the old slug after you ship the redirect.
Quick redirect modal Β· slg_add_redirect

Create Redirect

/old-services/plumbing

Cancel Create Redirect

UI clone of the monitor’s inline modal: source echo, target field, 301 redirect created server-side on confirm.

Ignore patterns

Select Ignore (eye-off icon) when a URL is expected noiseβ€”think legacy tracking parameters, deterministic scanner probes, or assets you will never resurrect. The row animates out immediately on success, and the running total in the Ignored KPI increases on the next refresh.

Per-path today The toolbar action ignores the explicit string shown in the row. Complex pattern syntax still belongs in Redirects / URL Medic configuration; watch that guide when you need wildcards instead of manual silencing.
Ignored counter + muted probe row
Ignored
4
Unique 404 URLs
11
Before fade-out/?rest_route=/wp/v2/
Ignoring…

Ignored URLs persist in plugin options (SLG_Redirects::IGNORED_404_OPTION) so they stay off the leaderboard until you change that list elsewhere.

srg-mock-row hints at AJAX success styling; KPI tiles show how ignore actions shrink visible unique counts.

Troubleshooting

Use this section when KPIs stall or AJAX controls feel unresponsive.

List never fillsFlip the pill to ONβ€”when monitoring is OFF the empty state prompts you to enable logging before hits appear.
Stale totalsCounts derive from stored log snapshots; reloading after Clear Log confirms zeroed baselines.
Redirect succeeds but hits continuePurge HTML / edge caches plus confirm no alternate hostname still serves the old path.
Odd referrersHotlinkers and email clients contribute external domainsβ€”cross-check External Links tooling if outbound integrity matters.
Empty state Β· monitor disabled

404 Error Log

No 404 Errors Logged

Enable 404 monitoring to start tracking errors.

OFF

Matches the PHP empty message when monitoring is OFFβ€”perfect cue to toggle the pill before blaming theme code.

AJAX checklist Β· nonce + firewall
Support runbook β€Ί Diagnostics

Buttons do nothing?

Verify ajaxurl is not blocked, security plugins aren’t stripping admin-ajax.php, and your session still holds a fresh slg_redirects_nonce / slg_url_medic_nonce.

slg_ignore_404 slg_clear_404_log slg_save_url_medic_setting

Map symptoms to AJAX actions emitted by tab-404-monitor.php scripts when escalating to hosting support.