comments not associated with posts after db restore
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘comments not associated with posts after db restore’ is closed to new replies.
The topic ‘comments not associated with posts after db restore’ is closed to new replies.
(@nanio)
17 years, 5 months ago
Hi – Everything on my site was working fine until my host (site5) migrated me to a new server, and the database got mangled in the process. After the migration, the wp_posts table had zero records in it. My most recent backup was about a month old, so I just fixed that table in phpmyadmin, leaving everything else the same.
My problem is now the older posts with comments now register in the comment count on the post, but the comments themselves don’t show up on the post page. Here’s an example – 2 comments, but neither show. I can see the comments themselves (and the post title in the ‘In Response To’ column) from within wp-admin/edit-comments.php – both the newer comments on posts that no longer exist and those on older posts that have been restored.
I guess I’m wondering how to go about reassociating these older comments with the restored posts.
Thanks for any help,
Nathanael