Best way to migrate test site to live site?
The site I work for is moving to a new theme soon. To do some testing before going live with the new theme, we setup a WP install on a sub-domain, created a new database, and exported/imported our database from the live site into it to give us some content to look at. Since then, we’ve also added some things we don’t want on the live site to kick the tires on the new theme.
Now, we’re ready to launch, and I want to figure out the best way to move the new theme over. We’ve made setting changes we want to keep on the test install, but we want to keep all the content just as it is on the live site. What is the best way to go about merging the two?
I’ve thought of a few different methods.
- Install the theme and bring over the settings from the test site onto the live site. The problem here is that I’m not sure exactly where the settings are. I believe they are stored in the database somewhere.
- Export the content portions of the live database and import them into the test site database. Then, point the domain to the folder the test site resides in. The problem here is that it makes our directory structure a bit messy and leaves us using the test database as the live database. Not sure how much of a problem these things are, but they seem a bit sloppy.
- Install the theme on the live site and copy the settings over by hand. This seems simplest, but I feel there must be a better way.
Which of these methods (if any) is the best? Is there a simpler/better way I’m missing entirely?
- The topic ‘Best way to migrate test site to live site?’ is closed to new replies.