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.

Customising the CMS /

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

URL and Site structure


Go to End
Reply


4 Posts   2159 Views

Avatar
HarryKC

Community Member, 8 Posts

17 December 2008 at 2:56am

Is it possible to set the URL display to follow the site structure?

The url shold be like this: http://SiteRoot/about/mission
not as this: http://SiteRoot/mission

The site structure:

SiteRoot
-->About
-->-->Mission
-->-->Vision
-->Contact
.
.
.

Avatar
SalvaStripe

Community Member, 89 Posts

17 December 2008 at 3:02am

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
HarryKC

Community Member, 8 Posts

17 December 2008 at 5:06am

Unfortunatley shlashes are not supported in the URL meta field. SS alerts with following message: "URLs can only be made up of letters, digits and hyphens."

Avatar
Hamish

Community Member, 712 Posts

17 December 2008 at 8:03am

Have a look at the 'nested URLs' sapphire branch:

http://open.silverstripe.com/browser/modules/sapphire/branches/nestedurls

This is a version of Sapphire specifically built to support nested friendly URLs. We should also see these made part of the core in version 2.4

Some more detail available in the development group:

http://groups.google.com/group/silverstripe-dev/browse_thread/thread/31e7c94977394df3