WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Importer
[resolved] Issues in wp_posts (3 posts)

  1. toniolol
    Member
    Posted 3 years ago #

    Hi,
    when I move from my old wordpress site to my new I used the plugin and after I saw some mistakes on photos's url.
    I've made some update on my db to repair that and this is what was in error :

    Table : wp_posts
    Column : post_content
    Column : guid

    On that columns there were my old wordpress address.

    Regards

  2. Jon Cave
    WordPress Dev
    Plugin Author

    Posted 3 years ago #

    The guid field represents a unique identifier for a post (typically useful in RSS feeds AFAIK) so it shouldn't matter if it's referencing an invalid address. The only reason that it uses what looks like a permalink/shortlink is because that makes a simple, relatively good unique (and permanent) identifier. However it should NOT be treated as a URL or permalink (note that the guid element in the export file states that it isn't a permalink in the isPermalink attribute).

    However there was some argument on http://core.trac.wordpress.org/ticket/6492 for updating/changing the GUID on import in case of duplicating the 'unique' field.

  3. toniolol
    Member
    Posted 3 years ago #

    Thanks for the guid explain.
    I've updated both guid and post_content because my old wp site didn't exist anymore.
    I can't remember before my update if the matter was in guid or post_content but the matter was on img src which were on my old www wp site.
    After my replace in my update everything is ok.
    Regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic