• We’re having an issue with the website URLs not translating properly with the plugin. So far, we’ve only tried to Tweet out existing posts manually through the plugin.

    The website’s permalink structure is /blog/%category%/post-title, but all the links we have sent out so far have been for /uncategorized/post-title. I’m not sure where it is getting this from, since none of posts were ever at that URL.

    Any guidance would be greatly appreciated!

    The page I need help with: [log in to see the link]

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

    (@joedolson)

    The plug-in uses the core function get_the_permalink() to source the URL for a post, so it should always be picking up the correct URL, especially if you’re only using it on posts that have already been published.

    What other plug-ins do you have active? There could be something else that is manipulating URLs, I imagine.

    Thread Starter jhoysi

    (@jhoysi)

    Thank you for getting back to me! I don’t see anything in our plugin list that manipulates plugins – I did include the list down below.

    The post’s structure was updated during an overhaul recently, but that should still point to the correct URL. Links are correct throughout the website using the standard template functions. Just now, I did a test by adding echo get_the_permalink(); to the single.php template and the correct URL, but not the URL that is being tweeted out, displayed. I did this on both the staging environment and briefly on the live to make sure nothing was getting lost in translation. They matched. You can view the staging version here: https://venturepatterns.jennsuzhoy.com/blog/essay/entrepreneurs-solve-chicken-and-egg-problems/)

    You can see that the permalink is showing as: https://venturepatterns.jennsuzhoy.com/blog/essay/entrepreneurs-solve-chicken-and-egg-problems

    But when we Tweet this same post, the URL that goes out is: https://venturepatterns.com/uncategorized/entrepreneurs-solve-chicken-and-egg-problems/

    You can see the Tweet here: https://twitter.com/VenturePatterns/status/1334263393210028034

    Thank you so much for your help!

    Plugin list follows:

    – Admin Columns Version 4.2.2 by AdminColumns.com | Auto-updates disabled
    – Advanced Custom Fields PRO Version 5.9.3 by Elliot Condon | Auto-updates disabled
    – All-in-One WP Migration Version 7.31 by ServMask | Auto-updates disabled
    – All-in-One WP Migration Unlimited Extension Version 2.37 by ServMask | Auto-updates disabled
    – Classic Editor Version 1.6 by WordPress Contributors | Auto-updates disabled
    – Contact Form 7 Version 5.3 by Takayuki Miyoshi | Auto-updates disabled
    – Discuss on Twitter Version 0.3 by Nick Grossman | Auto-updates disabled
    – Insert Headers and Footers Version 1.4.6 by WPBeginner | Auto-updates disabled
    – Ivory Search Version 4.5.10 by Ivory Search | Auto-updates disabled
    – MC4WP: Mailchimp for WordPress Version 4.8.1 by ibericode | Auto-updates disabled
    – Redirection Version 4.9.2 by John Godley | Auto-updates disabled
    – ShareThis Share Buttons Version 1.4.1 by ShareThis | Auto-updates disabled
    – WordPress Importer Version 0.7 by wordpressdotorg | Auto-updates disabled
    – WP-Optimize – Clean, Compress, Cache Version 3.1.4 by David Anderson, Ruhani Rabin, Team Updraft | Auto-updates disabled
    – WP-PageNavi Version 2.93.3 by Lester ‘GaMerZ’ Chan | Auto-updates disabled
    – WP Database Backup Version 5.7 by Prashant Walke | Auto-updates disabled
    – WP to Twitter Version 3.4.10 by Joseph C Dolson | Auto-updates disabled
    – Yoast Duplicate Post Version 3.2.6 by Enrico Battocchi & Team Yoast | Auto-updates disabled
    – Yoast SEO Version 15.3 by Team Yoast (Latest version: 15.4) | Auto-updates disabled

    Plugin Author Joe Dolson

    (@joedolson)

    Do you have a URL shortener selected with WP to Twitter?

    Thread Starter jhoysi

    (@jhoysi)

    No, we are not using a URL shortener.

    Plugin Author Joe Dolson

    (@joedolson)

    Hmm. If you were using a URL shortener, I’d suggest you try disabling the option to store URLs (check “Always request a new short URL for Tweets”); as that option can sometimes result in out of date URLs.

    Let me clarify your process: you’re using the ‘Tweet Now’ button to send Tweets for posts that are already published and visible. Is that correct? So in all cases, the information for that post is already saved when you open the post to send the Tweet.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Post URLs not Correct’ is closed to new replies.