I am thinking, how might I setup a development server locally then when done, upload and sync files + data to test/production server? I think options like siteurl
and home
in wp_options
database table will need to be changed, also, in wp-config.php
some settings like database connection and debug mode will be different too.
Leave a Reply
You must be logged in to post a comment.
It’s quite difficult to keep data from a dev version in sync with data on the production site. But for an initial deployment, you are correct that it requires changes to wp-config.php and the database.
This technique works for me, but I’d love to hear of any cleaner migration techniques.
UPDATE: There are a number of techniques discussed in the following post, including a plugin that handles the db grunt work:
How to: Easily Move a WordPress Install from Development to Production?