Hi guys – my issue was quite different but seemed similar. Here were the symptoms:
1. Moved WP site from host A to host B (including DB etc)
2. Configured new username and password for mysql in wp-config.php.
3. Went to home page, old posts showed, no new ones???
4. Logged into back end, everything looked fine.
5. Changed a post that was showing on the front page, no visible change.
6. WTF / GOOGLE / HAIR PULLING / etc etc
7. Discovered that there was an index.html file in my WP root that contained a static version of my site.
I don’t know how this index.html file got created, but the difference was that the DirectoryIndex order on host B listed index.html BEFORE index.php so it wasn’t an issue on my old host.
Hope this keeps the amount of global hair pulling to a minimum.
Cheers,
– Bob –
https://www.guru.net.nz/