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.

Template Questions /

Nice URL-s


Reply


7 Posts   1858 Views

Avatar
HarryKC

Community Member, 8 Posts

17 December 2008 at 2:54am

Edited: 17/12/2008 2:59am

Is it posible to have the site structure mirrored in the URL?

Example:

SiteRoot
About
Mission

the mission page should hawe the following URL: http://SiteRoot/about/mission not as now http://SiteRoot/mission.

(Sorry for the double posting - the forum was unresponsive - see http://www.silverstripe.org/customising-the-cms/show/250948#post250948 )

Avatar
SalvaStripe

Community Member, 89 Posts

17 December 2008 at 4:43am

okay in old thread we cant edit or post new.. so i copy my old post :)

maybe when you write is hardly...

In META Tab:

http://www.yoursite.com/myparent/mypage/

instead of

http://www.yoursite.com/mypage/

Attached Files
Avatar
simon_w

Forum Moderator, 474 Posts

17 December 2008 at 7:16am

ajshort has a branch that allows this. To get it, run:

svn co http://svn.silverstripe.com/open/phpinstaller/branches/nestedurls/

It will also be included in SilverStripe 2.4

Avatar
HarryKC

Community Member, 8 Posts

17 December 2008 at 7:40am

This will be nice! Waiting for the 2.4 version :)

Avatar
mnemo

Community Member, 6 Posts

19 April 2009 at 8:43pm

Anyone know when 2.4 will be released, it's the one thing which is stopping me using silverstripe?

Avatar
Willr

Forum Moderator, 5513 Posts

21 April 2009 at 6:21pm

mnemo - its still a few months away yet. Keep an eye on http://open.silverstripe.com/roadmap/ which lists the 2.4.0 milestone. The date is undefined as it is too far away to set one yet.

Avatar
mnemo

Community Member, 6 Posts

21 April 2009 at 9:35pm

Okay cheers for that, I'll keep a lookout.

Mark