post-page

WordPress FAQ: Changing Links and Images After a Move

12
responses
by
 
on
December 13th, 2010
in
WordPress, WordPress FAQs
heading
heading
heading
12
Responses

 

Comments

  1. Mark Ghosh (386 comments.) says:

    To get people thinking about the FAQ series, here are some common questions I receive:

    What are the best websites to find Free WordPress Themes?
    How do I safely and automatically backup my WordPress install?
    How do I download new plugins for my blog?

    All the FAQs will be linked from an FAQ page that users can be directed to from Forums and other places. We will keep the data updated to the best of our ability.

  2. Brian Charles Clark (1 comments.) says:

    This is very helpful — you mention updating images but don’t say how. Any insight on that?

    • James Huff (109 comments.) says:

      Updating the links will take care of the images as well. :)

      It’s just a matter of replacing all instances of the old domain or directory with the new domain or directory.

  3. Otto (215 comments.) says:

    Searching and replacing in the raw SQL file often does not work, because of WordPress’s use of serialized data.

    Best to use a plugin. I like the Search Regex plugin myself: http://wordpress.org/extend/plugins/search-regex/

  4. Destination Infinity (7 comments.) says:

    Why should we change the URL of images at all? Can’t it be hosted in WP.com ? I can understand about the internal links though – I actually wanted to change them manually and hence was awaiting some free time to do so! So, I guess its time to look at the plugins.

    Destination Infinity

    • James Huff (109 comments.) says:

      Sure, you could leave your images on WordPress.com, as long as you don’t delete your WordPress.com blog.

      I suppose you could say that this FAQ is geared more towards folks who want to move their blog from domain.com/wordpress/ to domain.com or from firstdomain.com to seconddomain.com.

  5. Chris Fellows (1 comments.) says:

    Well I think using a CDN through a performance plugin might be easier. Also broken links plugin works pretty good to fix these problems after a move.

  6. ddeconin (1 comments.) says:

    Hi,

    I used the plugin you mentioned to copy a wordpress site to a ‘test’ version so that I can modify the template. Unfortunately when I use export/import to copy the site and then update the urls of the images like mentioned above I still don’t see the images in the media library.
    Is there a way to populate the media library from the post content?

  7. Sunmai (1 comments.) says:

    Just awesome. This was actually the best article I found on how to fix the broken link issue on the WordPress site move. I think what kept me around was the part where you say if that was too easy, we will make it harder.

    Love the article

  8. nichive (1 comments.) says:

    I’m looking a single MySQL query that will replace a string pattern occurrence in the database, so that every given path is act accordingly to the new host.

    Anyone can help me with to solve this issue?

  9. Ahmad Taleb (1 comments.) says:

    THANK YOU!!!! Countless hours spent not being able to figure out how to fix this issue and your post just saved me from spending countless more.



Trackbacks/Pingbacks

  1. […] WordPress FAQ: Changing Links and Images After a Move
    […]

Obviously Powered by WordPress. © 2003-2013

page counter
css.php