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.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Custom URL and sub-pages...


Reply

5 Posts   3107 Views

Avatar
mobius

16 April 2007 at 9:24am Community Member, 54 Posts

Hi there,

Just a quick question about the way SilverStripe handles custom URLs. They don't appear to allow any way of showing hierarchy. For example, the normal way to show page hierarchy on a site would be to have the URL:
http://example.co.nz/parent-page/sub-page/
Whereas SS uses:
http://example.co.nz/sub-page/

This raises two issues for me:

1)What happens if I have a multitude of parent-pages that have the same set of sub-pages? Would I have to manually enter in a URL such as http://example.co.nz/parent-page-sub-page/? Yuck!

2)If someone comes into the site by following a link, and it is a subpage, they may be interested in the general topic the sub-page is covering, and they may want to see what else the site offers in this area. Under a "normal" URL structure they could simply remove the sub-page from the URL and they'd find the parent-page. Now I know you can employ breadcrumbs to do this as well, but breadcrumbs take up site real-estate and aren't always appropriate.

Is anyone able to offer any reasons for this design choice?

Avatar
tito0224

16 April 2007 at 9:45am Community Member, 8 Posts

I was wondering the same thing....

Avatar
dio5

14 September 2007 at 12:34pm Community Member, 501 Posts

Having the same idea here...
Seems that if you make another page with the same, ss adds -2 to it..

Any ideas to have it the normal way?

http://www.something.com/page/subpage/

instead of

http://www.something.com/subpage/

?

Avatar
Double-A-Ron

11 September 2008 at 5:14pm Community Member, 604 Posts

Subscribe - this is a pretty important feature IMO. All CMS's with a clean url feature have this functionality.

Avatar
Willr

11 September 2008 at 6:24pm Forum Moderator, 5511 Posts

http://www.silverstripe.com/extending-hacking-silverstripe-forum/flat/526 has pretty much everyones views plus a patch for it which may or may not work. Work done in 2.3 will make this a bit easier so I read, but it won't provide it out of the box