Merge two WordPress installations into one, and keep posts separated?

I have two WordPress installations that I would like to make into one installation, but still keep the posts (and their meta-data) separated. Both installations currently share the same database.

I would like to be able to loop through both blogs, but each on their own page.

Read More

I have extracted both databases using the built in export function in WordPress and am now sitting with two .xml files containing the posts from each database.

Now I would like to import these posts into a new clean WordPress installation, BUT how can I keep the separated? I don’t want them to get mixed up, because then I can’t show them on their own page.. I am thinking about using a custom loop using WP_Query.

Thanks, I hope you understand what it is I want.

Related posts

Leave a Reply

1 comment

  1. When you choose to import them into the new/merged website, you’ll have the option to import the author, or to assign a new one to the imported posts. You could assign different authors to each import and use that to separate the content.

    Do both use the same categories? If they don’t it should be simple since they will retain the categories when imported.