By platform

WordPress 404 error after changing permalinks

The home page works, but the pages a customer finds in an ad or an email now show Not Found. Simulated visitors open the old and new links and show which ones fail.

5 visitors try to .
First test free with an accountRun it from your coding agent

Why do I get a 404 error after changing permalinks in WordPress?

The likeliest cause is that the server does not know the new link style, so every address except the home page returns Not Found, even though the pages still exist. The next cause is a server setup that does not pass unknown addresses to WordPress, which happens on some hosts and on servers that do not read the rewrite file. Old links from ads, emails and search results still point at the previous style, so those visitors hit a 404 even after the new one works. Save the permalink settings once more, check that a new page loads, then redirect the old addresses, or let a simulated visitor run open the old and new links and report which ones end in Not Found.

What this looks like in a report

Who
Pilar, looking for a bicycle repair shop near her office
How they arrived
Tapped a link in a local directory listing on her phone
Where they stopped
Repair services page, the link from the listing

“The listing sent me to a services page and it says Not Found. The shop's home page loads, so I tried it again, but the listing still gives the same error. I will try the next shop on the list.”

The fix. Redirect the old services address to the new one, then open the link from the directory listing in a private window to confirm it lands on the services page.

An illustration. Run a test to see your own.See a real sample report

The new links are correct, and the old links in ads and emails are dead

Changing a permalink style changes the address every page is served at. WordPress writes new rewrite rules to tell the server how to map each address to a page, and the server must read them. When the rules are missing or not read, the home page still loads because it needs no rule, while every other address returns Not Found. A visitor who clicks an older link from an ad, an email or a bookmark asks for the previous address, which the new rules no longer map. The owner tests from the admin area and sees working pages, so the 404 only appears for the people who arrive from outside.

  • Open the home page, then one post or product by its new address. Does the new address load while the home page does?
  • Open one post with the plain question-mark form of its address. Does that version load?
  • Save the permalink settings once without changing them. Do the 404s on the new addresses clear?
  • Look at a link from an old ad or email. Does it use the previous address style, and does it end in Not Found?
  • Check that the server reads the rewrite file for the site. Ask the host if you cannot see it.

New rules that the server has not read

WordPress uses a set of rewrite rules to turn an address like /services/ into a page. Saving the permalink settings writes those rules into a file the server reads. On a server that reads that file, every address maps to a page as expected. On a server that does not, only the home page works, because it asks for the front page without any rule. The owner who changes the setting sees the new addresses fail, and the cause is in the server, not in the page.

Save the permalink settings once more, without changing them. Then check that the rewrite file exists for the site and that the server is set to pass unknown addresses to WordPress. If you cannot see the server settings, the host can confirm it in a single message, and that is the faster route than changing rules by hand. Then open a new post by its address.

Old links that still point at the previous style

A new permalink style does not update the links that other people already hold. An ad, a newsletter, a directory listing, a search result and a bookmark all keep the old address. Those visitors arrive at a Not Found page even when the new rules work perfectly, because the old address was never mapped to a page. This is the part an owner tests last and sees least, since the owner always clicks from inside the site.

Make a list of the old addresses that still get traffic. Your analytics or the search console shows the pages visitors reach, and the ad account shows the destination URLs. Add a permanent redirect from each old address to its new one, then open each old link in a private window to confirm it lands on the page you meant.

Test the old addresses, not only the new ones

A visitor from an ad or an email does not start on the home page. They start on the exact old address they clicked, so a test has to begin there. If you test only the new addresses, every page passes and the fault stays hidden. A cached 404 can also keep showing for the old address after the redirect is in place, so clear the cache before you judge the result.

A simulated visitor opens the old address the way a stranger would, from a link, and reports whether it reached a page or ended in Not Found. Run the same old addresses after each change, and keep the list, so the next run checks the same links. Keep the list in a note with the date you last checked it, so the next run starts from the same links.

Mimiq is independent and not affiliated with the platforms it names. Names belong to their owners.

What you get with Mimiq

  1. 01

    Run it by hand, or on every pull request

    Paste a link and a task in the app and watch the visitors work. Or run them on every preview deploy: the GitHub Action comments on the pull request, any other CI can call the MCP endpoint, and your coding agent can run it too.

  2. 02

    Bugs and usability problems in one report

    The browser records errors and failed or slow requests on the step they happened. The visitors say where the wording or the steps confused them, and where they left.

  3. 03

    Visitors that behave like your audience

    Each visitor is a different profile with a reason to be there, matched to who the page is for, described by you, or built from your own customers.

  4. 04

    A prompt to fix each problem

    Every problem comes with a fix to paste into Cursor, Claude Code, Lovable or any coding agent, and one prompt hands over the top problems at once. Then send the same visitors through again.

  5. 05

    Follow every visitor

    See each visitor's whole path, step by step with screenshots, and what it was thinking at every step. Ask any visitor a question.

The browser records relevant JavaScript errors and failed or slow app requests encountered during the run, attached to the step where they occurred. The visitors are simulated: they find problems, they do not predict how many real people will convert.

A move or a plugin change can reset the rules and bring the 404s back

A host move, a new security plugin or an update to a redirect plugin can change the rules the server reads, and the new addresses fail again. Each change can also leave a new link pointing at an address that has no redirect yet. After each change, open one new address and one old address in a private window and check both load.

Starter

Try it on one launch

$9 once
120 credits, never expire

24 visitors, about 4 tests of 5

  • Visitors on your landing page, signup and checkout
  • Where they left and why, with a fix to copy for each problem
  • Run it in the app or on every pull request
  • Ask any visitor a question, included
  • Test accounts and protected previews
Buy 120 credits

Builder

Test every build

$19 a month
500 credits every month

100 visitors, about 20 tests of 5

  • Everything in Starter
  • Credits refill each month, and what is left rolls over once
  • Cancel anytime
Choose Builder

Pro

Test every release, as a team

$49 a month
1,500 credits every month

300 visitors, about 60 tests of 5

  • Everything in Starter
  • Credits refill each month, and what is left rolls over once
  • Cancel anytime
Choose Pro

Scale

Test at scale, every day

$149 a month
6,000 credits every month

1,200 visitors, about 240 tests of 5

  • Everything in Starter
  • Credits refill each month, and what is left rolls over once
  • Priority support
  • Cancel anytime
Choose Scale
$0for your first test, with a free account (Google or email, no card). It includes 50 credits, enough for 10 visitors. After that a visitor uses 5 credits, and packs start at $9 for 120 credits.
See a sample report

Questions

Why does the home page load but the other pages return 404?

The home page is served without a rewrite rule, so it works when the rules are missing. Every other address needs a rule to map it to a page. When the server does not read the rules, only the front page loads, and the rest return Not Found.

Do I need to redirect every old address?

Redirect the ones that still get visits, from ads, emails, listings and bookmarks. Your analytics and ad account show which ones they are. Addresses nobody reaches can stay as they are, and the 404 on them costs little.

Can a simulated visitor tell me why the 404 happens?

No. It cannot read the server rules or the redirect list, so it cannot tell you the cause. It opens the address a stranger would open, reports whether it reached a page or Not Found, and shows a screenshot. Use the result to choose which rule to check.

Will a clean run mean all my links work?

Only for the links in the run. A visitor who follows an old link from a source you did not list takes a path the run never tested. Keep the list of old addresses current, and run it after each change.

Keep reading

Send visitors and see what breaks first.

Your first test is free: sign in with Google or email and it starts right away. Last checked 2026-12-03.

5 visitors try to .