SQL query to completely unpublish posts
-
Hi,
We have a site in English, with many photos. I am making a full copy of it as we start translating it to Chinese, so that the translator can start with posts already pre-populated with English, including images. In order to avoid duplicate content, I need to first unpublish all the posts in the Chinese copy. I can do this in bulk from the WordPress editor, however if I re-publish after that, the original publish date remains. We need the publish date to be current, for the Chinese site. Could someone help us find the SQL query that would remove the publish date entirely and make the posts true drafts for this new site?
The topic ‘SQL query to completely unpublish posts’ is closed to new replies.