Capability sweep (recipe r66): inner pages return 404 after a site move because stored rewrite rules are out of date
站主看到什麼
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.
出處:能力掃描(把「修得了什麼」頁上的一項或多項故障植進同一個測試站),沒有單一論壇帖。
測試環境與弄壞後看到什麼
測試站:WordPress 7.1、PHP 8.3。下表是照配方弄壞之後,首頁與登入頁回的 HTTP 狀態。
| 主機環境 | 首頁 | 登入頁 | 備註 |
|---|---|---|---|
| Apache + PHP-FPM | 200 | 200 | |
| Apache + php-cgi (mod_cgid) | 200 | 200 | |
| Apache + mod_php | 200 | 200 | |
| nginx + PHP-FPM | 200 | 200 |
每一跑的結局
| 日期(UTC) | 主機環境 | 連線模式 | 結局 | 維修站版本 | 備註 | 逐項結果 |
|---|---|---|---|---|---|---|
| 2026-11-08 | Apache + PHP-FPM | FTP | Recovered | 2.1.438 | permalinkStale: Cleared | |
| 2026-11-08 | Apache + PHP-FPM | SSH | Recovered | 2.1.438 | permalinkStale: Cleared | |
| 2026-11-08 | Apache + php-cgi (mod_cgid) | FTP | Recovered | 2.1.438 | permalinkStale: Cleared | |
| 2026-11-08 | Apache + php-cgi (mod_cgid) | SSH | Recovered | 2.1.438 | permalinkStale: Cleared | |
| 2026-11-08 | Apache + mod_php | FTP | Recovered | 2.1.438 | permalinkStale: Cleared | |
| 2026-11-08 | Apache + mod_php | SSH | Recovered | 2.1.438 | permalinkStale: Cleared | |
| 2026-11-08 | nginx + PHP-FPM | FTP | Recovered | 2.1.438 | permalinkStale: Cleared | |
| 2026-11-08 | nginx + PHP-FPM | SSH | Recovered | 2.1.438 | permalinkStale: Cleared |
對到的故障項目
補充
All runs used the small test site. WP admin mode was not run in this series.
這一筆的變更
- 2026-11-09 — Added 1 run from the lab run log.
- 2026-11-09 — Added 1 run from the lab run log.
- 2026-11-09 — Added 1 run from the lab run log.
- 2026-11-09 — Added 1 run from the lab run log.
- 2026-11-09 — Added 1 run from the lab run log.
- 2026-11-09 — Added 1 run from the lab run log.
- 2026-11-09 — Added 1 run from the lab run log.
這些是我們測試主機上、某一版、某一天的紀錄,不是對任何網站結果的承諾;其他主機、PHP 與 WordPress 版本的結果可能不同。