Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Local WordPress Development Local WordPress Development Migrating WordPress from Local to Live Server

Lee Frankel-Goldwater
Lee Frankel-Goldwater
6,332 Points

Database Serialization in WP

Does method address Database Serialization concerns that often occur with transfers? Thanks!

2 Answers

Andrew McCormick
Andrew McCormick
17,730 Points

This video uses the Search and Replace plugin, which I believe will not handle serialized data.

Here is the Wordpress Codex recommended search and replace tool which will handle serialized data: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

I use WP Migrate DB Pro and love it. This allows me to easily export out my database with or without search and replace. Or the best part is that you can install the plugin on two installations (or more) and have it automatically push and pull the DB between the two. I use this daily to push DB's from localhost or development servers to the live install. With the new pro version you can even keep your media files in sync You can purchase the pro version here: http://t.deliciousbrains.com/aff_c?offer_id=2&aff_id=1084 and use SUPER20 for 20% off <--- yes that is an affiliate link, but I do love the plugin and why wouldn't you want to help a brother out :)

Lee Frankel-Goldwater
Lee Frankel-Goldwater
6,332 Points

Thank you for this post. That's exactly one of the tools I need. I've been working to develop a good WP dev model that simplifies all of the annoying setup and move tasks and allowing a focus on the design. Hopefully seeking a use of Foundation, WP, and hopefully a good way to integrate JS into WP without too much PHP stuff. I like the language, but it seems mostly unnecessary when the main reason I want to use WP is as a client CMS and for the rich plug-in support.

Thoughts? THanks!