we’ve been doing a bunch of moving sites around from test/development servers to production, etc. and have found that the following make for about the easiest transition we could hope for:
1) make sure both servers are running the same exact version of WP, mySQL, php, etc.
2) do a SQL dump of the DB from phpMyadmin and import that rather than use the wp import/export feature – this is especially important for large sites, including those which may have undergone a couple of WP ‘upgrades’ along the way
3) in developing the site, be sure and use relative url’s for things like images, etc, unless you feel like doing potentially lots of editing later on.
4) make sure both WP installations have the same plugins (and versions of them) installed before importing site materials.
any questions, send to
Christopher J. Hradil chradil@comcast.net, http://hradil.us
best..c
And have a look at Moving_WordPress. Don’t forget that the URL values (see your Options -> General page) are stored in the database.
Thanks folks. I have read all about Moving WordPress, and the fact is that I only move an exact copy of what I have local, both database and WP files.
Though, I use the Xampp system to work on locally on my laptop, which I guess have another version of php and sql than whats on the server online.
Could I try to select another sql compability when dumbing the database?
I also do all my url changes in a notepad-like program before importing online.
Last, how can I be sure to use relative url’s when working with the site? is there a setting for that?
Thanks again…
J.
Eureca! I found out that I needed to select export compability with SQL 4.0. And then remember to import with the same compability setting in phpMyadmin online.
Hope this can help others with some export/import and moving sites problem.
Case closed.