Skip to content

Using Distributor and the Rewrite & Republish function of Duplicate Post plugin #1298

@mrrrlou

Description

@mrrrlou

Is your enhancement related to a problem? Please describe.

Using Distributor and the Rewrite & Republish function of Duplicate Post plugin
Using Distributor in combination with the Rewrite & Republish function of Duplicate Post plugin seems to be an issue.
This is because the R & R function creates a (temporary) draft version, which causes the distributed content to no longer work as expected.

The following is what happens:

  • The original content exists on site A. This content has (for example) ID 01. This content is distributed to site B (and it has been published).
  • We then rewrite the content on site A => this will create a draft post with ID 02 (on site A)
  • The content on site B gets connected to the draft with ID 02 of site A
  • The draft (ID 02) on site A is then published. This will merge it into content with ID 01. Draft post with ID 02 will be deleted.
  • However, on site B, the content on this site will be converted from ‘published’ to ‘draft’ status. It will still be connected to the draft with ID 02 on site A (which no longer exists).
  • On site A, when you check if it has distributed content, you’ll still see that it’s still connected to the content on Site B. However, when you click on the link it will throw a 404.
  • On site B, if you either edit or publish that distributed content and then navigate away from that content, it will disappear completely! It’s not even in the trash, it just seems to have been deleted.

Our client's work-around for now (which is tedious when you have multiple sites):

  • Again, the original content exists on site A. This has been distributed to sites B, C and D.
  • Go to distributed content on sites B, C and D => manually select ‘Unlink from Original’
  • On site A, 'Rewrite & Republish' content and publish (either planned or direct)
  • Go to sites B, C and D, to the previously unlinked content and link it again to original content

Request:

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions