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:

General Questions /

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

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

[Solved] Enable hierarchical urls in 2.4


Go to End


2 Posts   1397 Views

Avatar
chinaski

Community Member, 26 Posts

27 April 2010 at 5:37am

Edited: 27/04/2010 5:51am

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

Thanks.

Avatar
chinaski

Community Member, 26 Posts

27 April 2010 at 5:49am

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.