I have two WordPress sites, one (the "main") is used for my org's website (using Pages + Media), and a second was setup as a blog (using Posts + Media).
We want to get rid of the blog WordPress site and move all the posts and media to the main WordPress site.
I've exported posts from the blog using Tools -> Export.
Then I use Tools -> Import on the main site to import the posts, and I select "Import Attachments: Download and import file attachments" (I check the box).
But then when I go look at the posts that are brought in, they are still pointing to the old site (perhaps because it's a subdomain of the main site, even though it's hosted elsewhere? Is there a dumb string comparison that is failing here?)
So then I thought maybe I could export/import all of the media (thousands of photos) and just use a script to edit the XML so that it points to the media on the main site, but when I try to export/import all the media it keeps crashing after doing just a few, presumably because of upload size limitations?
What's the proper way to do something like this?
I know there are lots of plugins that do backup/restore, but I don't want to do one of those unless I can select which portions it restores, and also know that it won't delete what is already there.
The main site has pages and media, and the blog site has posts and media. I want to bring over all the blog media and posts, without losing any of the main site pages and media. Is this possible?