Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Migrating a Site to Silverstripe /

What you need to know when migrating your existing site to SilverStripe.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Merging Site Tree data

Go to End



Community Member, 4 Posts

10 December 2015 at 2:00pm

Hi all,

I am trying to merge two Sites using the subsite module.
What I am trying to do is load in database.sql for one of the sites and change all values in SubsiteID colum on SiteTree table from 0 to 1(first subsite ID)
1. Is this a valid solution?
2. does anyone have a way of merging the data for the two sitetrees? I was planning to merge the SiteTree data for site 2 once I had changed SubsiteID value on site 1.

Any help on this is greatly appreciated