Title: Plugin posting using wrong URL !
Last modified: August 21, 2016

---

# Plugin posting using wrong URL !

 *  [Taffy-boy](https://wordpress.org/support/users/taffy-boy/)
 * (@taffy-boy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-posting-using-wrong-url/)
 * Hi, can you tell me please how can I make SNAP use the originating url of a post
   instead of reverting back to my blog url..?
 * My site is a news aggregator (for want of a better description), the posts are
   pulled in from various RSS Feeds & when in the RSS Feed the posts do have the
   correct url.
 * If you look here [http://info-feed.com/feed/](http://info-feed.com/feed/) & here
   [http://info-feed.com/](http://info-feed.com/) and hover over any of the titles
   you can clearly see that they all use the originating / source URL.
 * So somewhere in the process SNAP is reverting back to my blogs url & not the 
   original / source URL.
 * Is there any way around this ..? because other than this issue the plugin is 
   great and posts out to my social accounts without any trouble.
 * Please advise
 * Steve…
 * [http://wordpress.org/extend/plugins/social-networks-auto-poster-facebook-twitter-g/](http://wordpress.org/extend/plugins/social-networks-auto-poster-facebook-twitter-g/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-posting-using-wrong-url/#post-3722637)
 * Plugin takes URL from get_permalink() function the [http://codex.wordpress.org/Function_Reference/get_permalink](http://codex.wordpress.org/Function_Reference/get_permalink)
 * Please let me know if you have any questions.
    Ludwig Van Normainen NextScripts.
   com
 *  Thread Starter [Taffy-boy](https://wordpress.org/support/users/taffy-boy/)
 * (@taffy-boy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-posting-using-wrong-url/#post-3722638)
 * Thanyou for your response,
    although I did ask 3 questions about SNAP & from 
   what I can see you have only bothered to answer one!
 * **Q 1.** Hi, can you tell me please how can I make SNAP use the originating url
   of a post instead of reverting back to my blog url..?
 * **Q 2.** So somewhere in the process SNAP is reverting back to my blogs url &
   not the original / source URL.
 * **Q 3.** Is there any way around this ..? because other than this issue the plugin
   is great and posts out to my social accounts without any trouble.
 * Your reply it seems is in answer to question 2, but there is no reply or even
   a comment on questions **1 & 3**..?
 * Please answer my questions fully, perhaps then I may be able to get this issue
   dealt with.
 * Thankyou Steve…
 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-posting-using-wrong-url/#post-3722640)
 * Actually my answer covers all your questions. Our plugin does not create or alter
   the URL of the post. It takes it from the standard WordPress function.
 * If you need to alter the output of that function you need to find the plugin 
   that can do that or get some custom function.
 *  Thread Starter [Taffy-boy](https://wordpress.org/support/users/taffy-boy/)
 * (@taffy-boy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-posting-using-wrong-url/#post-3722641)
 * Hmmm I do apologise, my mistake !
 * But not being a coder I do have trouble fully understanding the php code & terminology.
 * Having checked the code sheet of my theme, I see that it uses `the_permalink`
   as opposed to `get_permalink`. This then explains why the correct url displays
   on the page on mouse over. And if I read this correctly it is because one calls
   the function from outside the loop yet the other is inside the loop..?
 * So what I need is some method of using `the_permalink` instead of `get_permalink`
   hmmm..?
 * One other thing, I checked through a few of the code sheets of SNAP & found `
   get_permalink` in **NextScripts_SNAP.php** & in **inc-cl/di.php**(which is the
   one I used for testing)
 * So my question now is, is the url set in the code sheet for each networking /
   bookmarking site ..? or is there one central place where it is set..?
 * Thanks Steve…

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin posting using wrong URL !’ is closed to new replies.

 * ![](https://ps.w.org/social-networks-auto-poster-facebook-twitter-g/assets/icon-
   256x256.png?rev=1106267)
 * [NextScripts: Social Networks Auto-Poster](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/)
 * [Active Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/reviews/)

## Tags

 * [links](https://wordpress.org/support/topic-tag/links/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 4 replies
 * 2 participants
 * Last reply from: [Taffy-boy](https://wordpress.org/support/users/taffy-boy/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-posting-using-wrong-url/#post-3722641)
 * Status: not resolved