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   1495 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

Check out the how-to and recipes:

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