Fix: Ghost shows 404 on posts after migration
Symptom
Ghost loads correctly, but all existing posts return 404 errors after a migration.
Cause
The content path or database references were not correctly updated during the migration process.
Solution
- Verify the content directory path in the Ghost configuration.
- Check that the database connection settings point to the correct database.
- Restart Ghost after completing the migration.
Verify
Access an existing post URL directly.
Expected result:
Posts load correctly without returning 404.
Notes
Ensure the correct storage adapter is configured and the content folder is intact.
This fix is part of Fix Pack – Ghost behind Nginx.
Get all fixes in one place:
https://diorama0.gumroad.com/l/ptrzok