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

"Add the following code"..

The section where Zac says "Add the following code" Define('WP_HOME", "http://migratewordpressfromlocaltoliveserver.com') leaves me confused: should I put the new URL from the live site in there, or do I reference the old one, or do I reference both?

I've typed out all the steps for this before I migrate, and I want to make sure this will work. Any thoughts?

2 Answers

Sean T. Unwin
Sean T. Unwin
28,690 Points

Put your live server URL within the quotes.