Fix 404s and Redirects on WordPress With Rank Math: A Real Log, Step by Step
Every WordPress site has a graveyard. Old slugs from deleted posts, addresses a bot dreamed up at half past two in the morning, a plugin file that never existed in the first place — they all pile up in the same place, and if you never look, you never know which ones are actually costing you visitors.
This week we opened Rank Math’s 404 Monitor on our own site, magzinetechnology.com, and read every single entry, so you don’t have to guess what a real 404 log looks like. Here’s the honest version: most of it is noise, a little of it matters, and the fix takes about two minutes once you know which is which. If you want to fix 404 errors in WordPress, this log is the place to start.
To fix 404 errors in WordPress with Rank Math, turn on the 404 Monitor, sort the log into real moved posts, bot probes, missing images and stale slugs, then create a 301 redirect from each real broken URL to its closest live page — and re-test it. Most of what the log records is noise: on our own site, 35 broken addresses produced 45 hits this week, and not one of them was a live post.
Key takeaways: a 404 on its own doesn’t hurt your rankings, most log entries are bots, and the only fixes that matter are 301 redirects from real moved URLs to their closest live page. Read on to fix 404 errors in WordPress step by step.
What Is a 404 Error — and What Does It Actually Cost You?
A 404 error is your server’s way of saying “that page doesn’t exist here.” Somebody — a visitor, Google, or a bot — asked for a specific address, and WordPress couldn’t find anything at that address. The visitor sees a “Page Not Found” screen, and the request gets written into a log. That log entry is the first thing to check when you fix 404 errors in WordPress.
Here’s the part most guides bury: Google has said for years that a 404 error on its own does not hurt a site’s rankings. A 404 is a correct answer for a page that doesn’t exist, and Google doesn’t penalise you for giving correct answers. What a 404 does cost you is three quieter things.
First, crawl budget — every time Googlebot fetches a dead address, that’s a fetch it didn’t spend on a live post. Second, user trust — a reader who clicks a link and lands on a dead page usually just leaves. Third, link value — if another site links to a page you’ve deleted or moved, that link’s value evaporates unless you point the old address somewhere useful.
Our Site’s 404 Scoreboard: 35 Broken Addresses, Zero Broken Posts
Before the steps, here’s the proof that triage beats panic — our own log, read on the morning of Friday, November 27, 2026. Our site runs WordPress 7.1.5 with the Kadence theme and the free version of Rank Math SEO 1.0.283, and it has 83 published posts. The 404 Monitor holds 35 distinct broken addresses with 45 hits between them. Use it to fix 404 errors in WordPress with real numbers.
The top of the log tells the whole story. The single most-hit entry is .well-known/poppy.json with 6 hits, last seen at 04:25 this morning — that’s a bot checking for a file our site has never had. Next come two spoofed addresses, magzinetechnology.com.dciology.com and magzinetechnology.com, with 3 hits each — a bot mashing our domain together with another one.
Then a stale slug from our site’s pre-tech era, chatgpts-latest-updates-you-should-know-about, with 2 hits. After that, 31 entries with exactly one hit each — and nearly all of them are .php files (info.php, test1.php, wp-access.php, gecko.php and friends) that arrived in a single burst between 02:35 and 02:37 on November 26. That’s not traffic. That’s one automated sweep knocking on doors to see which ones open.
The number that matters most is zero: zero live posts are 404ing. We searched every plausible-looking slug in the log against our published posts, and none of them matches a live article. The two stale slugs that look like posts — simple-everyday-habits-that-can-help-improve-your-memory and 100-sad-status-in-english-copy-2026 — come from an era before this site was a tech blog, and no post exists for them. Our sitemap and every published URL return HTTP 200. Zero is the goal when you fix 404 errors in WordPress.
The busiest redirect of all is home/ pointing at the homepage, with 38 hits — we’ll come back to why that one is fine, because it looks like it breaks the golden rule and it doesn’t. For an alias, the homepage is how you fix 404 errors in WordPress.
And the fixes we’ve already made are still working. All seven of our 301 redirects are active, including the two we created on November 13, 2026 — the old GPT-6 slug now pointing at /gpt-6-cyber/ (12 hits) and the old Claude slug pointing at /claude-personal-finance/ (11 hits). Both were last hit at 02:30 this morning, which means old links out on the web are still sending people to them, and the redirects are still catching every one.
One honest caveat: our log is smaller than it was two weeks ago, when it held 83 addresses and 96 hits. Rank Math keeps only the most recent 100 log entries, so older entries roll off as new ones arrive. Treat any site’s 404 log as a rolling window, not a lifetime total — the entries you see are the recent ones, and that’s exactly the ones worth acting on. A rolling window is enough to fix 404 errors in WordPress.
Step 1 — How Do You Turn On Rank Math’s 404 Monitor?
Nothing in this guide works until the monitor is actually recording, and on a fresh Rank Math install it isn’t on by default. Go to Rank Math SEO, then Dashboard, then Modules, and switch on the 404 Monitor. While you’re there, switch on the Redirections module too — you’ll need it in Step 3, and turning it on now means the redirect tool is ready when you find something worth redirecting.
The log itself lives under Rank Math SEO, then 404 Monitor, and it starts recording from the moment you enable it. It can’t show you the past, so the sooner you turn it on, the sooner you have real data instead of guesses. That data is what lets you fix 404 errors in WordPress instead of guessing.
Then check one setting most people miss: Rank Math SEO, then General Settings, then 404 Monitor, where you’ll find the Mode. Ours is set to Simple, which logs only the broken address and the time it was hit — and honestly, that’s enough to do this whole workflow. Advanced mode adds the referrer and the user agent, which tells you where the request came from and whether it was a browser or a bot. If you want that extra evidence before you decide what to ignore, switch to Advanced.
We verified our own install runs Simple with a log limit of 100 entries and “Ignore Query Parameters” switched on, and it has been perfectly usable — but if you’re the kind of person who wants to see the bot’s name before dismissing it, Advanced is the better setting for you. Simple mode is enough to fix 404 errors in WordPress for most sites.
Step 2 — How Do You Tell a Real 404 From Bot Noise?
This is the step that separates a useful afternoon from a wasted one. Open the log, sort by hits, and put every entry into one of four buckets before you touch anything. This triage is how you fix 404 errors in WordPress.
The first bucket is a real post that moved. The slug changed, the URL got shortened, the post was merged into another one — and the old address still gets traffic. This is the only bucket that always deserves a redirect, and it’s the one our November 13 fixes came from: two launch posts whose long original slugs were shortened after publishing, and whose old addresses kept getting hits. Fix the entries with the most hits first, and cross-check Google Search Console’s Pages report under “Not found” — any URL there with real clicks or real backlinks goes to the top of your list.
The second bucket is a bot probe for a file that never existed. Our log is full of these: phpinfo-style files, made-up plugin paths, .well-known checks, and spoofed hostnames mashing our domain into another one. A bot asking for test1.php at 02:36 in the morning is not a lost reader, and there is nothing to fix. Ignore the whole bucket. If a single probe worries you, remember the numbers: 31 of our 35 entries have exactly one hit each, and almost all of them arrived in one two-minute burst. Real readers don’t behave like that.
The third bucket is a missing image variant, and it’s the sneakiest one, because the log entry looks like a broken page when it’s actually a broken file. Two weeks ago our log showed two missing WebP image variants — files our image plugin was supposed to generate but hadn’t. The fix there isn’t a redirect; it’s regenerating or re-uploading the image. If a log entry ends in .webp, .jpg or .png, check the Media Library before you reach for the redirect tool.
The fourth bucket is a stale URL from a deleted era with no matching live post. Our chatgpts-latest-updates-you-should-know-about slug is the example: it had 5 hits two weeks ago and 2 hits this week, and there is no post on our site it could point to. This one is a genuine decision, not an oversight, and we deal with it properly in the open-decision section below.
Step 3 — How Do You Create a 301 Redirect in Rank Math?
Once you’ve found a real moved post, the fix itself is quick. Go to Rank Math SEO, then Redirections, then Add New. Put the old address in the Source URLs field, the live post in the Destination URL field, and choose 301 – Permanent as the redirection type. Save it, and the old address now sends visitors and search engines to the new one. There’s a faster route too: hover over an entry in the 404 Monitor log and use its Redirect option, which fills in the source address for you. If you have a lot of old addresses to fix at once, Rank Math lets you import and export redirects as a CSV file instead of doing them one by one.
The code matters, so pick it deliberately. A 301 (Moved Permanently) is the right choice in roughly 90 to 95 percent of cases — it tells browsers and Google the page has moved for good, and it passes most of the old page’s SEO value to the new one. A 302 is for temporary moves only, like maintenance or an A/B test. A 410 (Gone) tells Google a deleted page is never coming back, which is the cleaner option when there genuinely is no equivalent page. A 307 preserves the request method and is rare enough that most sites never use it. When in doubt, 301.
And here is the golden rule every good guide repeats, including this one: redirect to the closest matching page, never to the homepage by default. Sending every dead link to your homepage looks tidy, but Google treats it as a soft 404 — it ignores the redirect, the link value is lost, and you lose all visibility into which broken address people were actually trying to reach. In Rank Math this is the Fallback Behavior under General Settings, then Redirections: leave it on the default 404 page and redirect deliberately, one URL at a time.
Now, the honest exception. Our own redirect list includes blog/ and home/ both pointing at the homepage, and home/ is our busiest redirect with 38 hits. That looks like it breaks the rule — but it doesn’t, because those two addresses were never posts. They were homepage aliases: short addresses people typed or linked expecting the front page. For an alias, the homepage is the closest matching page, because there is no closer one. The rule is about deleted content, not about aliases. If your dead URL was a post, send it to the closest live post. If it was always meant to be the homepage, the homepage is the right destination.
Step 4 — How Do You Verify a Redirect Actually Works?
Creating a redirect and verifying it are two different jobs, and the second one is the one people skip. Don’t skip it. Open the old address in a fresh browser tab — or better, check it with a status-code tool — and confirm three things. This check proves you fix 404 errors in WordPress.
First, the old address returns a 301, not a 404 and not a 200. Second, it lands directly on the live post, with no chain: old address A should go straight to final destination C, never A to B to C, because every extra hop leaks a little link value and slows the reader down. Third, the destination itself returns HTTP 200 — a redirect to another dead page is worse than no redirect at all, because now you’ve hidden the problem.
Then watch the log. A working redirect doesn’t erase the old address from the 404 Monitor — the monitor logs the request before the redirect fires — but the redirect’s own hit counter should start climbing, and that’s your confirmation that real traffic is flowing through it. Our two November 13 redirects have 12 and 11 hits and were both last used at 02:30 this morning, which is exactly what a healthy redirect looks like: quiet, constant, and catching everything sent its way. Rising counters confirm you fix 404 errors in WordPress.
The Open Decision: What Do You Do With a Stale Slug Nobody Owns?
Let’s come back to chatgpts-latest-updates-you-should-know-about, because it’s the most interesting entry in our log and the one we deliberately haven’t fixed yet. It has no matching live post. There is no article on our site about ChatGPT’s latest updates that it could point to, and inventing a destination would be worse than doing nothing. Three options exist, and none of them is wrong — which is exactly why it’s still open. This is the hardest call when you fix 404 errors in WordPress.
Option one is a 301 to the closest match. The trouble is that there isn’t one. The nearest thing on our site would be a general AI news post, and sending someone looking for a specific ChatGPT update roundup to a generic AI article is the kind of mismatch that makes readers bounce.
Option two is a 410 Gone, which tells Google plainly that the page is deleted and never coming back — cleaner than a 404, and it stops the address from consuming crawl budget. Option three is to leave it exactly as it is. A 404 is a valid, honest answer for a page that doesn’t exist, and with 2 hits this week from what looks like old links or stray crawlers, it’s costing us almost nothing.
Our call, for now, is to leave it — and to say so openly rather than quietly. If the hit count climbs, or if Search Console shows a real site linking to it, we’ll revisit and probably go with the 410. The lesson isn’t which option we picked. It’s that a stale slug deserves a decision with a reason, not a reflex. Redirecting it to the homepage would have been the lazy answer, and it would have been the wrong one.
When Resaving Permalinks Fixes 404s — and When It Doesn’t
Several guides list resaving your permalinks as the first fix for 404 errors, and they quote a success rate of around 90 percent. They’re not wrong — they’re just describing a different problem. Go to Settings, then Permalinks, and hit Save Changes, and WordPress rebuilds its rewrite rules. If every post on your site suddenly returns a 404, that’s the fix: the rewrite rules broke, and resaving them repairs the break in one click. Resaving only helps you fix 404 errors in WordPress when every post 404s.
But it does not apply to our log, and it probably doesn’t apply to yours either if your situation looks like ours. Our posts all return HTTP 200. Only stray addresses 404 — bot probes, spoofed hostnames, a stale slug from a deleted era. Resaving permalinks would change nothing about any of those, because the rewrite rules aren’t broken. So the rule is simple: if all your posts 404, resave permalinks first. If only odd addresses 404 while your posts load fine, skip straight to the triage in Step 2. Knowing which problem you have saves you from “fixing” something that was never broken.
Frequently Asked Questions
Do 404 errors hurt my SEO?
No, not directly. Google has said for years that a 404 on its own doesn’t lower your rankings — it’s the correct response for a page that doesn’t exist. What hurts is what a 404 can cause: wasted crawl budget, readers bouncing off dead pages, and lost link value when other sites link to an address you’ve deleted. Fix the 404s that have traffic or backlinks, and leave the bot probes alone.
Should I redirect every 404 to my homepage?
No. Redirecting a deleted post to your homepage is treated by Google as a soft 404 — it ignores the redirect, the link value is lost, and you can’t see which broken address people wanted. Redirect each dead URL to its closest live page instead. The only exception is an address that was always meant to be the homepage, like a /home/ or /blog/ alias — for those, the homepage is the right destination.
What’s the difference between a 301 and a 302 redirect?
A 301 means the page has moved permanently, and it passes most of the old page’s SEO value to the new one — use it for moved or renamed posts, which is about 90 to 95 percent of cases. A 302 means the move is temporary, like maintenance or a test, and search engines keep the old address in their index. For a post that has genuinely moved, 301 is almost always the right call.
That’s the whole workflow to fix 404 errors in WordPress, and it’s the one we actually run: turn the monitor on, read the log, sort it into four buckets, redirect only the real moved posts, and verify every redirect lands where it should. Our own log this week says the system works — 35 broken addresses, 45 hits, zero broken posts, and seven redirects quietly catching the traffic that still arrives at old addresses. Your log will look different from ours. The numbers change; the triage doesn’t.








