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

  1. Verify the content directory path in the Ghost configuration.
  2. Check that the database connection settings point to the correct database.
  3. 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