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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

[Solved] Enable hierarchical urls in 2.4


Reply

2 Posts   1073 Views

Avatar
chinaski

27 April 2010 at 5:37am (Last edited: 27 April 2010 5:51am), Community Member, 26 Posts

I'm experimenting with 2.4rc1 and am wondering how to enable hierarchical urls, i.e. /about-us/staff/, etc.

Thanks.

Avatar
chinaski

27 April 2010 at 5:49am Community Member, 26 Posts

Solved - originally searched for "hierarchical urls" rather than "nested urls" and didn't find much help.

The answer is: SiteTree::enable_nested_urls(); in _config.php.