• Resolved manonetc

    (@manonatelier)


    How do you automatically change the parent post status to Pending when Broadcasting to another site?

    I need to avoid Google’s “duplicate post” penalty, and would also like to just not have two of the same posts in the multisite network.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    The official way to avoid post duplication penalties is to use the “canonical url” setting, you can find in Admin > Broadcast > Settings tab > SEO subtab.

    If you still insist on hiding the parent during broadcasting, you’ll have to write a code snippet for that. I have a collection of snippets here https://broadcast.plainviewplugins.com/doc/documentation/

    What you’re looking to do, I guess, is hook into the threewp_broadcast_broadcasting_finished action, and from the $action->broadcasting_data->post->ID you get the ID of the post parent, which you can then update the post status of.

    Thread Starter manonetc

    (@manonatelier)

    Ok, great!
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Parent Post Status’ is closed to new replies.