Initial assessment

Capability sweep (recipe r66): inner pages return 404 after a site move because stored rewrite rules are out of date

Recipe 20261108-sweep-r66 (r66) · Latest run 2026-11-08 · First published 2026-11-09 · Updated 2026-11-11 · Capability sweep

What the site owner saw

After the site move, the homepage loaded but inner pages returned HTTP 404, because the rewrite rules stored for the site no longer matched it.

Source: capability sweep (one or more problem types from the "What we fix" page planted on one test site); there is no single forum thread.

Test setup and what we observed after the failure

Test site: WordPress 7.1, PHP 8.3. The table shows the HTTP status of the homepage and the login page after the recipe recreated the failure.

Server setupHomepageLogin pageNote
Apache + PHP-FPM200200
Apache + php-cgi (mod_cgid)200200
Apache + mod_php200200
nginx + PHP-FPM200200

Outcome of each run

Date (UTC)Server setupConnection modeOutcomeProduct versionNoteResult per problem type
2026-11-08Apache + PHP-FPMFTPRecovered2.1.438permalinkStale: Cleared
2026-11-08Apache + PHP-FPMSSHRecovered2.1.438permalinkStale: Cleared
2026-11-08Apache + php-cgi (mod_cgid)FTPRecovered2.1.438permalinkStale: Cleared
2026-11-08Apache + php-cgi (mod_cgid)SSHRecovered2.1.438permalinkStale: Cleared
2026-11-08Apache + mod_phpFTPRecovered2.1.438permalinkStale: Cleared
2026-11-08Apache + mod_phpSSHRecovered2.1.438permalinkStale: Cleared
2026-11-08nginx + PHP-FPMFTPRecovered2.1.438permalinkStale: Cleared
2026-11-08nginx + PHP-FPMSSHRecovered2.1.438permalinkStale: Cleared

Problem types this case covers

Notes

All runs used the small test site. WP admin mode was not run in this series.

Changes to this record

These are records from our test servers, for a given product version on a given day. They are not a promise about the result on any site. Other hosts, PHP versions, and WordPress versions can behave differently.

Initial assessment →