10up / distributor

Share content between your websites.
https://distributorplugin.com
GNU General Public License v2.0
640 stars 156 forks source link

Force Push All Posts #705

Open andrew-dixon opened 3 years ago

andrew-dixon commented 3 years ago

Is your enhancement related to a problem? Please describe. I updated some URL's using a search and replace tool and the posts in which these URLs appeared updated on the origin site but not on the sites the posts were distributed to.

Describe the solution you'd like An option (button) in Distributor to "force push" and/or "force pull" all posts.

Designs Maybe a button on the "Settings" page called "Force Push" that pushes all content pulled from the site to the sites it was distributed to and/or a button on the "Pull Content" > "Pulled" screen to "Force Pull" all previously pulled content.

Describe alternatives you've considered As a workaround, I did a mass "quick edit" on the posts screen and changed the author to the same author and this pushed the content again.

jeffpaul commented 3 years ago

@andrew-dixon do you know how the search and replace tool you used updated those posts? Ensuring that Distributor is aware of that update process could be something we ensure we cover.

andrew-dixon commented 3 years ago

@jeffpaul TBH I'm not sure, I think it is directly into the DB using queries. The tool I used was https://en-gb.wordpress.org/plugins/better-search-replace/