Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm trying to migrate a series of blogs from one place to another, both running 3.0.1, and I am unable to get media libraries and galleries to come across in the export/import process.

Any ideas on how to do this? The gallery shortcode comes across in the post content, but it doesn't display anything because the actual gallery does not come across.

Thanks, Dave

share|improve this question
    
I noticed that the post_type 'attachment' has the 'can_export' setting set to false. This is causing my media not to export. Does anyone know why it's like that? –  Dave Morris Dec 14 '10 at 3:01
    
Your answer is here : wordpress.stackexchange.com/a/95683/31384 Wish you luck –  Mohsenr1 Apr 13 '13 at 5:31
add comment

3 Answers

Is the migration down to the fact you're moving servers and/or domains? Or that your merging into another blog?

If the former, you might be better off with a database dump (search and replace old domain with new one if that's changing too), then import into the new database (along with copying over the filesystem).

If it's the latter, well, it's not going to be as easy. Let me know if it is, and we'll see what we can do :)

share|improve this answer
    
I'm wanting to migrate 40 blogs into one blog (on a different domain in WP 3.0.1 Multisite), and I will distinguish posts that used to be on separate blogs by using custom taxonomies. We're having all kinds of problems, but blog post URLs and media/galleries are the highest priority items right now. –  Dave Morris Dec 14 '10 at 4:30
add comment

I had to do something slightly similar, but with just two blogs into a single new blog.

I used the WordPress Export file to import all the data into the new blog. That went fairly smoothly. Naturally the images and stuff are all messed up...

Both my blogs happened to have the WP uploads folder organized by date. I grabbed both folders and merged them into one. I fortunately didn't run into any duplicated file names.

The URLs were still messed up within the post content. I used the Search Regex to rewrite the urls to the new domain and server path. It was tedious, but I got it done after a few hours.

http://wordpress.org/extend/plugins/search-regex/

share|improve this answer
1  
That is very helpful. I will test out this process and see if it will work for me. Thanks. –  Dave Morris Dec 14 '10 at 5:19
    
oh i just noticed you said you want to turn these into a multi-site WP install. My merging was two wordpress blogs into one wordpress blog. Not two installs into a single install. So just a heads up that my process may not exactly work. But the search regex might still come in handy for you. Just be careful not to mess up (have a backup). I liked that plugin because it makes it quite easy to search and preview the result before actually hitting save changes! :) –  Sahas Katta Dec 15 '10 at 9:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.