How do I import comments for existing blog posts?
I can easily import the comments using this format via an XML file:
<wp:comment_content><![CDATA[This is an imported comment. ]></wp:comment_content>
And they show up just fine under “Manage Comments”… But the comments aren’t being published on the blog because there’s no way to specify what post the comments should be posted on. They all have a “post ID” of 0. Is there a way I can specify what post-ID they should be published on?
I can manually move them (one by one) in phpMyAdmin, but I’m importing like 75+ comments per post.. for like 50 posts.
I can export the comments from phpMyAdmin and change the post-ID there (I can run a simple find and replace to change the post ID, so it’s automated) but there’s no way to import them back in??
There’s got to be a way to do this without changing every single one by hand right?? Any ideas? 🙂
Thanks for your help,
- The topic ‘How do I import comments for existing blog posts?’ is closed to new replies.