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.

Reply

5 Posts   2172 Views

Avatar
DanStephenson

17 February 2009 at 12:45pm (Last edited: 17 February 2009 12:46pm), Community Member, 115 Posts

I am setting up quite a deep site using SilverStripe right now. It has several sub-pages, about 4 levels deep. I am also trying to customize the URL for each page so that it makes sense based on its position inside the site structure.

Right now, I have a "products" section, organized like this

Products
--Blue Widget
--Red Widget
--Black Widget

And the URLs for each page are /products/, /blue-widget/, etc. What I'd love to be able to do, is to set "sub URLs", so that each widget that is a subpage of product has a URL like /products/blue-widget/

Is that possible with the current version of the CMS?

Avatar
Willr

17 February 2009 at 5:15pm (Last edited: 18 February 2009 9:32am), Forum Moderator, 5511 Posts

This is one of the oldest discussions - have a read of http://www.silverstripe.org/archive/show/526?showPost=174774&start=48 for just 1 of the many discussions :)

Good news is yes it is coming. You can download a unstable version of the code currently. This feature will be in the 2.4 stable release when that is launched later this year. But if you can't wait that long then you can try and run the development code available at

http://open.silverstripe.com/changeset/latest/phpinstaller/branches/nestedurls?old_path=/&filename=/phpinstaller/branches/nestedurls&format=zip

Avatar
DanStephenson

17 February 2009 at 5:36pm (Last edited: 17 February 2009 5:37pm), Community Member, 115 Posts

Will, the link you provided is to this thread!

I am glad to know this is coming in 2.4. Can't wait.

Avatar
Carbon Crayon

18 February 2009 at 3:37am Community Member, 598 Posts

I think he meant this thread: http://www.silverstripe.org/archive/show/526?showPost=174774&start=48

Avatar
Willr

18 February 2009 at 9:31am Forum Moderator, 5511 Posts

Woops my bad :) yes that is the correct link, updated my post