From: Peter Lind on
On 19 April 2010 12:54, Andre Polykanine <andre(a)oire.org> wrote:
> Hello Peter,
>
> Regarding the URL switching suggested by you and Michiel, how do I do
> this if I have a rather complicated .htaccess file? For instance, a
> blog entry URL is formed as follows:
> http://oire.org/menelion/entry/190/ which is phisically
> http://oire.org/oire.php?o=menelion&e=190
> If I need to insert the locale somewhere inhere, sorry, I just don't
> know how to do that)

Switch your url structure to something like /en/menelion/entry/190/
and map that to /oire.php?o=menelion&e=190&l=en

You can still default to one language and leave the language bit out
of that - but when switching to a language explicitly, having that as
part of the url helps.

Regards
Peter

--
<hype>
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
Flickr: http://www.flickr.com/photos/fake51
BeWelcome: Fake51
Couchsurfing: Fake51
</hype>