Moving posts between different WordPress blogs, together with associated media and links, is astonishingly easy. My challenge was that I wanted to migrate a specific category of posts from one blog to another, but did not want to lose the old links – I wanted them to redirect to new links automatically.
I thought it would take me hours: reading codex, posting on support forums, and actually executing this complex technical operation… In reality, it took less than an hour once I was determined to figure it out. After looking at built-in WordPress functions, I had a “Duh!” moment and it all fell into place.
Here are the steps:
- On blog #1, go to Tools>Export, then set the filter for exporting the entries. In my case, I wanted to migrate all entries under “localization” category, so an export file was created containing those 5 entries and their related media and, more importantly for me, comments. Save that file.
- On blog #2, go to Tools>Import and import the file that was created under Step 1.
- On blog #1, install Quick Page/Post redirect plugin (you can search for it on the Plugins page).
- On blog #1, edit posts to enter redirect links to blog #2 in the Quick Page/Post Redirect form which appears under the entry editing form. There is an option to show the redirect URL instead of the “old” URL – convenient if you want to show your readers that they are now on a new site. If the redirect does not seem to work, I suggest double-checking that you are not entering the old link to blog #1 rather than the new link to blog #2 (I surely made this mistake more than once).
- Voilà! Entries migrates, redirects set up, confetti!
Good luck migrating/redirecting, and let me know if it worked for you!