What do you guys use if you want clone/move multi-site to a new domain? First go around gave me some issues so trying again. Instead of using a backup script I am just moving the files & DB, then use PHPadmin to update the urls in the where I can find them in the db & update wp-config. Then I will prob use search & replace to change the urls in everything else in the DB. Works fine on a single site, will this work ok for a multi site? I know there are some additional tables to update for each of my individual sites. Sometimes the clone scripts don't always work for me everytime. thanks!
I do stuff manually as well but check this out. Its brick simple. http://premium.wpmudev.org/blog/how-to-move-wpmu-to-a-new-domain-the-simplest-guide-ever/ hope that helps, Nigel
Thanks, good list! Thats usually what I do with single sites and only takes a few minutes and works every time. I thought I read somewhere once that using a text editor for replacing the urls on the sql file is not a good idea as it sometimes saves incorrectly, is that possible? They recommended using a "search and replace" plugin for wordpress instead after you just changing the site urls so you can at least login. At least I know I have everything, I just screwed up something changing urls so will give it another go.
yeah not the greatest idea. I go into phpmyadmin. In a native or stand alone install you are looking for wp-options table. On the first page you will see base url on page 2 there is a row for home url. Those are typically the only 2 tables that have to be edited. You can also just change the first one and login if that is possible otherwise just use the search feature on that table in phpmyadmin and you can edit them all real fast in one shot. Nigel
Found out there are other tables that need to be updated to get multisite to where you can login to admin. I kept getting an error "unable to connect to database" even though everything in the wp-config was correct and I tried on a couple different domains. Then tried logging into admin and it gave me a more detailed error message describing what it was looking for. There is a table wp_blogs that needs the url to be changed and after that all was good & could login. I didn't know that logging into admin would give you a detailed error message or maybe that is new? Don't usually have any issues when moving single sites.
Hmm. That is a good question and clearly my bad on the wp_blogs its been years since I fiddled with wpmu. That could be new. I think as of 3.0 MU is basically baked into it. That certainly stands to reason though. Glad you got it fleshed out. Nigel
I still have problems, the moved site does not look exactly like the orig but close. Seems some of my styles are not being applied etc but its close & still trying to figure out an easy way to do this that works 100%.
If you mean the main or root site I typically reset permalinks to default and then back to whatever you had them set to as well. You may have an absolute path somewhere like home/user/public_html etc. that could be a tad different based on the how the new server folks set things up. I would probably have to take a look but it sounds like you are chugging along ok lol.. N.
Ok this was pretty easy, I think my Firefox was just having a caching issue and not reloading the stylesheet and I was not having the issues I thought that I was. In case it helps anyone else, I used the instructions at the bottom of this page: http://codex.wordpress.org/Moving_WordPress Since I am not good with search and replace in phpmyadmin they linked to a cool script for updating the tables in your DB with a preview before you make the actual update. Makes it real easy.... http://interconnectit.com/products/search-and-replace-for-wordpress-databases/