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

/dev/build, Subsites and URLSegment "fixing"


Go to End


799 Views

Avatar
DesignCollective

Community Member, 66 Posts

13 January 2012 at 8:51am

Edited: 13/01/2012 8:52am

Guys, this is really annoying. I have Subsites installed and have pages that have the same URLSegments in the root on various subsites. When I run /dev/build, it "fixes" the URLSegments, e.g. making videos-1, videos-2... instead of several /videos pages. I guess there is something in the build function that is not subsite aware.

The website is getting large, so it is becoming a liability (apart from annoying) that every time I update the data model I need to make sure in the CMS that URLSegments are correct. Any way to disable this URLSegment check under /dev/build? Or any way to make it Subsite aware?

PS I got over the /home problem a while back, although it sometimes (not sure based on what principle) renames the /home sites to /home-2 etc. too.

Any insight would be greatly appreciated!