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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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


1114 Views

Avatar
Dunatron

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