Import subdomain WordPress into main domain WordPress


I have the following setup: two WordPress blogs, one on the main domain, let’s call it and one on a sub-domain After a few years of running these blogs independently I have to merge the sub-domain into the main domain: >

Each blog’s database is over 100MB and the sub-domain uploads folder is over ~15GB (lots of high-res images). Both blogs have the same authors and only 2 common categories.

What’s the best (safest) way of doing the merge to ensure that everything runs properly?

These are the steps I considered:

  1. Backup each database;
  2. Optimize each database;
  3. Backup again;
  4. Export XML from;
  5. Move the contents of to – (and hope there are no files identically named);
  6. Import XML into;
  7. Create .htaccess file on to 301 redirect all to;

The only step I’m not sure is #5, should I move (merge) the uploads folders or let the import process handle this as well? I’m thinking that since it’s 10 GB worth of images the import process might fail…

If anyone has a better process or if you see a problem with one of the steps from above, let me know, I’ll appreciate any help on this matter!

George Grigorita 2 years 2020-12-30T11:10:26-05:00 0 Answers 5 views 0

Leave an answer