Open
Description
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:
- Possible fix so it works correctly? Could the filter mentioned here https://10up.github.io/distributor/dt_distributable_post_statuses.html fix this?
- Or this would be of help as well: Unlink distributed copies from origin while editing the origin post #1291
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
Labels
No labels