[resolved] how to adjust URLs after migrating from wp.com to self-hosted? (3 posts)

  1. gschmid
    Posted 5 years ago #

    Hi all,

    sorry if this has been answered already, but I couldn't find a solution yet.

    I want to migrate my blog from wordpress.com to a self-hosted wordpress.org installation.
    Importing the WXR file works fine, all content is there.

    BUT: All URLs in my posts and pages which refer to my own blog still contain "http://<myblogname>.wordpress.com/" as WP seems to use absolute paths instead of relative ones.

    Of course, I don't like to manually edit all of my posts and pages. I checked for plugins, but couldn't find anything which helps in this specific case (there is one which edits all URLs, but you habe to run it on the OLD blog installation which is not possible on WP.com).

    My best idea currently is to create a magic SQL which does find-and-replace on wp_posts table, but I'm not sure yet how the query should look like.

    Any ideas?


  2. dfunkydog
    Posted 5 years ago #

  3. gschmid
    Posted 5 years ago #

    Thanks for pointing this out. The "Search and Replace" plugin didn't work for me (showed mysql error), but instead I used "Find replace" (http://wordpress.org/extend/plugins/find-replace/) which worked fine for me.

Topic Closed

This topic has been closed to new replies.

About this Topic