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 Migrating the Database

Michalis Efstathiou
seal-mask
.a{fill-rule:evenodd;}techdegree
Michalis Efstathiou
Full Stack JavaScript Techdegree Student 8,605 Points

workshop seems to be of low quality

off the bat, nothing on the website was working, I had to remove the extra two lines from the config file to make it work

then, the method of updating the database through search and replace is wrong and leaves things on the site broken

this is from the wordpress.org site

If you do a search and replace on your entire database to change the URLs, you can cause issues with data serialization, due to the fact that some themes and widgets store values with the length of your URL marked.

https://wordpress.org/support/article/moving-wordpress/#changing-your-domain-name-and-urls

it seems for me, at the very least, that my images are not appearing, god knows what else might be brocken

any ideas how to fix this?