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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


888 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!