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.

Archive /

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

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

Pretty URLs for multilanguage sites ?


Go to End


2 Posts   1840 Views

Avatar
Skipper

Community Member, 16 Posts

8 September 2008 at 12:38am

Edited: 08/09/2008 12:39am

Maybe I have not seen the obvious: I want pretty URLs for multilanguage sites. The wiki mentions only ?lang=. Is there are way to have the language information as URL segment?

From a brief look, and I am by no means whatsoever proficient in SS, hacking sapphire's main.php and SiteTree.php should be all that is needed. But as said, I don't know the internals of SS enough to see what kind of kinky effects this may have elsewhere.

Any tips or hints ?

Thanks a ton!

Avatar
sonet

Community Member, 33 Posts

5 October 2008 at 2:31pm