• Hey guys,
    I’m having a problem with get_permalink on a new site I’m putting together.
    The new site is a membership / aggregator site and I am trying to get the posts submitted to Twitter / Facebook using the originating / source url. I found and installed a plugin called “Page Links To”, which has succeeded in getting the correct url used in the titles on the index page & also in the RSS Feed.

    But unfortunately when a post is being submitted to Twitter / Facebook it always reverts back to http://my-blog.com/post-title/ instead of http://source-blog.com/post-title/ which is what I really want.

    I’m using “NextScripts: Social Networks Auto-Poster” to send the posts to Twitter etc and this plugin is using $url = get_permalink($postID); which for some reason is giving me the wrong url, yet on the index / home page it uses the_permalink which does show the correct source url.

    Can anyone please explain what is going on here & more importantly how to rectify the situation.

    Many thanks Steve…

  • The topic ‘get_permalink returns incorrect url.’ is closed to new replies.