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

Pretty URLs for multilanguage sites ?


Reply

2 Posts   1468 Views

Avatar
Skipper

8 September 2008 at 12:38am (Last edited: 8 September 2008 12:39am), Community Member, 16 Posts

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

5 October 2008 at 2:31pm Community Member, 33 Posts

Check out the how-to and recipes:

http://doc.silverstripe.com/doku.php?id=recipes:pretty_i18n_urls