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.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

Hierarchical URLs missing after successful (it seems) 2.4 upgrade

Go to End

3 Posts   747 Views


Community Member, 4 Posts

13 July 2010 at 8:59pm


I /think/ I've just upgraded perfectly to 2.4 (replaced code, flushed the DB with no problems, admin panel now showing 2.4.0). However, hierarchical URLs just don't seem to be happening. Visiting, say, /about-us/members gives a 404 where as /about-us and /members both work fine. Do I have to switch this on somewhere? Am I just being really thick? :)


Forum Moderator, 5521 Posts

13 July 2010 at 10:35pm

Nested urls is enabled by a static method - SiteTree::enable_nested_urls(); in your _config.php. If you upgraded you're probably missing that line. Just paste it into the _config file and run another dev/build


Community Member, 4 Posts

17 July 2010 at 1:14am

Silly me. Thanks, Willr!