Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5540

Josh on "Advice rebuilding a new database after site got hacked"

$
0
0

All of the comments from WP are stored in the wp-comments table in the database.

Could you not just export this table.. and the import it into your new WP installation?

I believe the only column in the wp-comments table which would need to be adjusted is the comment_post_ID as it specifically references the post/page it relates to.

So, you would have to go through each comment... get the post/page ID of the new site... edit it in the database table... and import into the new site.

Probably a fairly laborious process... but could def be done with a limited amount of comments.


Viewing all articles
Browse latest Browse all 5540

Trending Articles