[wp-hackers] Tips for moving a Wordpress install
wordpress at zed1.com
Tue Dec 1 21:12:03 UTC 2009
A caution: The search and replace in the sql dump works for most of the time
(I use it all the time), but there can be problems.
The two big ones are:
1) some popular plugins insert full paths to your web directory either in
wp_options or worse in files. wp-super-cache and cformsII both come to mind.
2) those options in wp_options are often compex php serialized data. That
means the strings have their length encoded in the options. When you change
the urls in there and the length of the string changes, often things will
break in mysterious ways..
As to the media library stuff not being in the export, I guess it would get
cmbersome really quickly, you would have to encode the binary in some way.
The file would get big fast.
However, on import, it can fetch the media content on to the new server
(using the absolute urls in there), but only if the old site is we visible
to the new server (not your browser).
More information about the wp-hackers