• Resolved basekick

    (@basekick)


    Hey there!

    I have daily posts on my website, which keeps a lot of elements consistent from each day. This makes me use a cloning tool that creates a new post identical to the previous one, where I then edit the body, headline, and URL each time instead of creating every element again.

    However, Wp to Twitter doesn’t recognize the new article, and instead tweets out the old URL from the cloned article. Even if I change the URL, save the draft, and try again, it seems like Wp to Twitter has some value from the cloned article that can’t be altered despite everything in the new article being different.

    Is there a workaround for this? I’ve tried manipulating the message myself, but even #url# spits out the cloned article, not the new one.

    Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    What plug-in are you using to copy your articles? If you’re copying articles and the copy includes the meta data from the original article, then it’s copying the previously-Tweeted URL along with the rest of the meta data from WP to Twitter.

    You can disable storage of URLs using this example code: https://github.com/joedolson/plugin-extensions/blob/master/wp-to-twitter/disable-url-storage.php

    That will only effect new posts, however.

    I have the same problem. I didn’t realize it for dozens and dozens of tweets. I use Duplicate Post plugin (https://duplicate-post.lopo.it/).

    I see now that the plugin has a feature called “Do not copy these fields” – “Comma-separated list of meta fields that must not be copied
    You can use * to match zero or more alphanumeric characters or underscores: e.g. field* ”

    Using Admin Columns plugin I looked at the post fields to see which one stored the url, and it looks like it’s _wpt_short_url (but it’s not short).

    I made the change, and the next post I duplicated didn’t have the old cloned post’s URL.

    Thread Starter basekick

    (@basekick)

    So paste:

    _wpt_short_url

    Into “Do not copy these fields” ?

    Thank you so much for the help! I am using the Duplicate Post plugin.

    You’re a lifesaver.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cloned articles tweetwrong URL’ is closed to new replies.