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.

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   1319 Views

Avatar
AdamCGray

Community Member, 4 Posts

13 July 2010 at 8:59pm

Hello,

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? :)

Avatar
Willr

Forum Moderator, 5523 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

Avatar
AdamCGray

Community Member, 4 Posts

17 July 2010 at 1:14am

Silly me. Thanks, Willr!