跳至内容

故障排查

修复:Fix Permalinks 404 After Restore

Multisite 备份「Permalinks 404 After Restore」的原因与修复。

自由的

When you hit permalinks 404 after restore, start with the Multisite Migrate job log: last completed chunk, PHP/memory messages, HTTP 502/504, disk/inode errors, or cloud auth failures. Multisite archives are larger and table-heavier than single-site jobs, so shared hosts interrupt long PHP requests — Jobs in Chunks exist specifically for that.

Check tmp/disk free space, upload_max_filesize for imports, S3/Drive/Dropbox/SFTP credentials for Plus uploads, and security plugins that block admin-ajax. After restore issues, verify siteurl/home, rewrite rules, domain mapping (sunrise.php), object-cache drop-ins, and CDN caches. Reproduce once on Staging before changing production limits.

「Permalinks 404 After Restore」先看日志诊断

Separate backup failures from post-restore URL/media/login problems. Capture job percent, last log line, HTTP status, hosting class, and whether a local archive already exists. That evidence decides whether you raise PHP limits, free disk, fix cloud auth, or only re-upload.

For “permalinks 404 after restore”, avoid restarting from scratch if a chunked job can resume. Lost locks, cleared tmp, or a new job ID are common reasons a progress bar jumps back to 0%.

贴合 Multisite 现实的修复

Raise PHP time/memory enough for safety, but keep chunked jobs — shared hosts can still kill long workers. Free disk and inodes before large network archives. Allow admin-ajax through WAF or security plugins. On Plus, re-test Drive/Dropbox/S3-compatible/SFTP credentials and quotas.

Free handles core backup/restore; Plus covers BYO cloud; Pro covers remote import, empty-server installer, Staging, and split/extract. Pick the tool that matches the failure — do not upgrade tiers hoping a cloud auth typo will disappear.

归档完成后

If the local archive is good, you can restore even when cloud upload failed. Fix destination auth/quota, then re-upload, or restore from local. On Staging, confirm HTTPS, mapping, media, and logins before production.

If only one subsite looks wrong after restore, check that site’s tables and sites/{id}/ uploads path before re-running the whole network job.

保留、加密与支持卫生

For fix permalinks 404 after restore, keep enough archive generations to roll back a bad deploy or failed migration. Optional .venc AES-256 encryption on Multisite Migrate archives protects copies at rest when you store offsite on Plus destinations. Document credentials, schedule windows, and who may run Network Admin jobs.

Do not delete the last known-good archive until the new Staging restore drill passes and production looks correct for a full business day.

日志优先诊断

判断失败来自 PHP、磁盘、数据库、云还是 URL 重写。

默认修复:Jobs in Chunks

续传,而不是把大型 Multisite 任务从零重跑。

恢复侧检查

把备份失败与恢复后的 URL/媒体/登录问题分开。

便于支持的证据

知道该为支持保留哪些日志行与环境事实。

  1. 1记录失败点

    在 Network Admin 或子站点执行此步骤,并在 Staging 上验证结果。

  2. 2应用对应修复

    在 Network Admin 或子站点执行此步骤,并在 Staging 上验证结果。

  3. 3以 chunks 重跑

    在 Network Admin 或子站点执行此步骤,并在 Staging 上验证结果。

  4. 4Confirm local archive integrity(本地化)

    在 Network Admin 或子站点执行此步骤,并在 Staging 上验证结果。

  5. 5校验恢复路径

    在 Network Admin 或子站点执行此步骤,并在 Staging 上验证结果。

Plus 和 Pro 的 14 天退款

阅读恢复文档 →