WordPress.org

Ready to get started?Download WordPress

Forums

How to use search & replace tool after migrating to different URL (1 post)

  1. k12onos
    Member
    Posted 2 years ago #

    Hi,

    I just changed the URL of my wordpress site from http://blog.domain.com

    to http://domain.com

    As expected, my posts - most noticeably the attachments - are still referring to the old http://blog.domain.com URL.

    Then I came across the search & replace tool here: http://codex.wordpress.org/Moving_WordPress

    I'm referring to the point #2 under "When Your Domain Name or URLs Change" heading, which is this script: http://interconnectit.com/124/search-and-replace-for-wordpress-databases/

    Unfortunately, there isn't any usage example of the tool. I'm puzzled, whether it's just as simple as inputting

    Search: blog.domain.com

    Replace: domain.com

    in the box provided. Will it detect http://blog.domain.com/blah-blah-blah/ and change it to http://domain.com/blah-blah-blah/ in this setting? Since this is a live site, I'd like to be very careful.

    Also I found wordpress plugins with supposedly the same functionality of this search & replace script. What would you recommend me to use? wordpress plugin or the script?

    Thank you, I'd greatly appreciate your help :)

Topic Closed

This topic has been closed to new replies.

About this Topic