• Resolved hopetommola

    (@hopetommola)


    (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 to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author johnzenausa

    (@johnzenausa)

    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 6 years, 8 months ago by johnzenausa.
    • This reply was modified 6 years, 8 months ago by johnzenausa.

    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 https://blogs.ourdomain.com/blogname/sample-post/

    Any thoughts what might be wrong? Could need your help desperately.

    Thanks so much & all the best,
    Martin

    I’m having the same problem with the links

    Plugin Author johnzenausa

    (@johnzenausa)

    I’ll look in to it.

    Plugin Author johnzenausa

    (@johnzenausa)

    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

    (@hopetommola)

    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

    (@johnzenausa)

    @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

    (@johnzenausa)

    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 6 years, 8 months ago by johnzenausa. Reason: Corrected argument
    Plugin Author johnzenausa

    (@johnzenausa)

    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.