• Hello,

    Iw ould like to merge two posts and the comments together, or just merge the comments of two posts together into one post. How may I do this? Thanks.

    Kind regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You mean in one WP install (not two separate WP installs), you want to merge two posts and attached comments?
    Through database, use phpMyAdmin. Tables: wp_posts and wp_comments

    Thread Starter member111

    (@member111)

    oh, how would I do that?

    To merge the post, just copy and paste the content from one post to the other via Manage-Posts.

    To merge the comments from post1 to post2:
    1. Backup your database.
    2. Make sure your database is correctly backed up.
    3. Stop if you didn’t do steps 1 and 2!!!
    4. Stop if you don’t know how to use phpMyAdmin
    5. Determine post ID of post1 and post2 using phpMyAdmin to look at the wp_posts table.
    6. Using phpMyAdmin, in the wp_comments table, find any record that has a comment_post_ID equal to the post ID for post1 and change it to the post ID value for post2.

    Thread Starter member111

    (@member111)

    so I don’t know how to do it so i shouldn’t do it at all?

    Not exactly Member111, just being responsible commentators here. For example in MichaelH’s step 1. Do you know how to back up your database using phpMyAdmin? Here’s how you can do it:
    https://www.tamba2.org.uk/wordpress/backup/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Merge Two Posts’ is closed to new replies.