[wp-hackers] [GSoC 2011] Moving Wordpress

Piyush Mishra me at piyushmishra.com
Mon Mar 21 13:19:08 UTC 2011


Check the plugin by Azizur
https://github.com/azizur/wordpress-oneclick-migration and also
http://wordpress.stackexchange.com/questions/119/easily-move-a-wordpress-install-from-development-to-production/182#182

On Mon, Mar 21, 2011 at 6:47 PM, Ken Newquist <newquisk at lafayette.edu>wrote:

>
> On Sun, 20 Mar 2011 20:50:42 +0530 Piyush Mishra <me at piyushmishra.com>
> wrote:
>
> > Moving a WP from one install to another server for a new domain means
> > changing the guid in [wp_]posts, updating site_url n home.
> > Taking mysql dump, zipping wp-contents and importing all of that on the
> new
> > server right?
>
> The problem I've had with moving a site from development to production (and
> back again) has always been with the serialized data for plugins and
> widgets. When the data's serialized, it includes a string count. This isn't
> a problem if the domain name is going to stay the same, but if the number of
> characters in the name does change (e.g. foo-dev.bar.com to foo.bar.com)
> then the serialized data counts are off. That causes PHP errors when it
> tries to unserialize the data; that in turn can cause plugins to load
> without any of their setting information.
>
> This can be a big headache when moving large sites through the
> dev/stage/prod migration path. I've handled it in the past with a script
> that loads the serialized data from a test database, then re-serializes it
> with the new URL.
>
> Ken
>
> --
> Ken Newquist
> Web Applications Specialist
> Lafayette College
> p: 610.330.5759
> e: newquisk at lafayette.edu
> web: http://sites.lafayette.edu/newquisk
> podcast: http://sites.lafayette.edu/coffeebreak
> cal:
> https://webmail.lafayette.edu/home/newquisk@lafayette.edu?fmt=freebusy
>
>
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Regards
Piyush Mishra
http://www.piyushmishra.com/
Life's Short, Live it to the maximum


More information about the wp-hackers mailing list