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:

All other Modules /

Discuss all other Modules here.

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

bugfix: subsites - preventing dev/build from renaming homepages


Go to End


981 Views

Avatar
MattB

Community Member, 7 Posts

28 April 2011 at 10:31pm

Edited: 28/04/2011 10:33pm

Hi team,

With the Subsites module installed and several subsites present, you'll often find running dev/build marks your '/home' controller pages as 'changed' and sets the top-level URLSegments to home-2, home-3, home-4.

Try this in your _config.php:
SiteTree::set_create_default_pages(FALSE);

See http://open.silverstripe.org/ticket/6251 in TRAC.

Cheers, Matt