Jump to:

23367 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » [Solved] Enable hierarchical urls in 2.4

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

Page: 1
Go to End
Author Topic: 1047 Views
  • chinaski
    Avatar
    Community Member
    26 Posts

    [Solved] Enable hierarchical urls in 2.4 Link to this post

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

    Thanks.

  • chinaski
    Avatar
    Community Member
    26 Posts

    Re: [Solved] Enable hierarchical urls in 2.4 Link to this post

    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.

    1047 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.