Title: Using Shortcode Pulls OLD Permalink
Last modified: March 6, 2018

---

# Using Shortcode Pulls OLD Permalink

 *  Resolved [hopetommola](https://wordpress.org/support/users/hopetommola/)
 * (@hopetommola)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/using-shortcode-pulls-old-permalink/)
 * (yes I know I need to update)
 * I imported a blog from wordpress.com using the WP import tool. When using the
   shortcode in my page template, posts from that blog show on my homepage using
   the OLD url in the permalink. Not sure if this is the plugin, or something wrong
   with the import tool, but it should definitely not occur. Thoughts?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fusing-shortcode-pulls-old-permalink%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [johnzenausa](https://wordpress.org/support/users/johnzenausa/)
 * (@johnzenausa)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/using-shortcode-pulls-old-permalink/#post-10047064)
 * Try resetting the permalink and let me know.
 * Are you using a caching plugin?
 * If so also clear the cache.
 * Plus I just visited your site and all seems normal.
    -  This reply was modified 8 years, 2 months ago by [johnzenausa](https://wordpress.org/support/users/johnzenausa/).
    -  This reply was modified 8 years, 2 months ago by [johnzenausa](https://wordpress.org/support/users/johnzenausa/).
 *  [mwangler](https://wordpress.org/support/users/mwangler/)
 * (@mwangler)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/using-shortcode-pulls-old-permalink/#post-10105644)
 * Hello,
 * I have a similar problem, or rather 2, to be precise:
 * 1) For blog posts imported from a former domain into out new, the plugin retrieves
   the old url (which in many cases doesn’t exist anymore)
    2) For newly created
   blogs in the network, all displayed post links have the format blogs.ourdomain.
   com/?p=123. By clicking on them, the blog opens after apparently redirecting 
   to the correct permalink (blogs.ourdomain.com/post-name). The permalink setting
   for these new blog is explicitly set to [http://blogs.ourdomain.com/blogname/sample-post/](http://blogs.ourdomain.com/blogname/sample-post/)
 * Any thoughts what might be wrong? Could need your help desperately.
 * Thanks so much & all the best,
    Martin
 *  [guruspeaker](https://wordpress.org/support/users/guruspeaker/)
 * (@guruspeaker)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/using-shortcode-pulls-old-permalink/#post-10105834)
 * I’m having the same problem with the links
 *  Plugin Author [johnzenausa](https://wordpress.org/support/users/johnzenausa/)
 * (@johnzenausa)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/using-shortcode-pulls-old-permalink/#post-10107901)
 * I’ll look in to it.
 *  Plugin Author [johnzenausa](https://wordpress.org/support/users/johnzenausa/)
 * (@johnzenausa)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/using-shortcode-pulls-old-permalink/#post-10109796)
 * I think that WordPress database post table contains old links (post-guid column).
   You will need to modify it manually. Check to see if there’s any posts, pages,
   etc… that share the same post ID. Remove the one you don’t want. This happens
   when people transfer sites.
 *  Thread Starter [hopetommola](https://wordpress.org/support/users/hopetommola/)
 * (@hopetommola)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/using-shortcode-pulls-old-permalink/#post-10110133)
 * I don’t think this should be an issue, if you’re using the permalink, and the
   permalink structure defined in the site
 *  Plugin Author [johnzenausa](https://wordpress.org/support/users/johnzenausa/)
 * (@johnzenausa)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/using-shortcode-pulls-old-permalink/#post-10110676)
 * [@hopetommola](https://wordpress.org/support/users/hopetommola/)
    I have no plans
   on using the permalink structure as of right now. Maybe in the future. This only
   seems to be a problem with people who transfer their site from one domain to 
   another. I did it using cpanel and had no problems. I understand that duplicate
   IDs can post a problem but the best course as of right now is if any post, page,
   or custom post has a duplicate ID delete that post and re-create it with the 
   same permalink it will now have a different post ID and won’t pose a problem.
   Remember you can always use the `exclude_post=""` attribute so they will not 
   show up. Maybe in the future I’ll switch over to permalinks. But not as of right
   now.
 *  Plugin Author [johnzenausa](https://wordpress.org/support/users/johnzenausa/)
 * (@johnzenausa)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/using-shortcode-pulls-old-permalink/#post-10122028)
 * Okay you guys win, the next update will implement the permalinks structure plus
   a few more upgrades.
 * One example is if you create a custom post type called upcoming events it will
   list the events by event date and not by published date. An example if you use
   a custom fields plugin and you added a custom field called event_date and set
   the date picker for that field you may list the items using the following argument:
   `
   order_post_by="event_date ASC"` so the closest upcoming event will be listed 
   first from top to bottom.
    -  This reply was modified 8 years, 1 month ago by [johnzenausa](https://wordpress.org/support/users/johnzenausa/).
      Reason: Corrected argument
 *  Plugin Author [johnzenausa](https://wordpress.org/support/users/johnzenausa/)
 * (@johnzenausa)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/using-shortcode-pulls-old-permalink/#post-10133260)
 * The plugin has been updated to use permalinks. Plus read the readme.txt file 
   for more update information.

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

The topic ‘Using Shortcode Pulls OLD Permalink’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/network-posts-extended_b4775d.svg)
 * [Network Posts Extended](https://wordpress.org/plugins/network-posts-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/network-posts-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/network-posts-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/network-posts-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/network-posts-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/network-posts-extended/reviews/)

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 9 replies
 * 4 participants
 * Last reply from: [johnzenausa](https://wordpress.org/support/users/johnzenausa/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/using-shortcode-pulls-old-permalink/#post-10133260)
 * Status: resolved