Migrate Custom Post Type with Custom Fields data and parent child order

Question

Hello WordPress community,
I’m trying to migrate my one WordPress custom post type data to another WordPress site and I tried to migrate with SQL and WordPress’s default export/import function but not working perfectly. The posts are created dynamically and print title with custom field value by shortcode so when I try to import its display duplicate post found.

I also try to export post with SQL, but it’s not export custom field data and parent child hierarchy.

SQL –

    SELECT * 
    FROM  `wp_posts` 
    WHERE  `post_type` =  "post type name here"

0
Puneet Verma 1 month 2022-07-19T05:40:48-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse