Hello.
I am using the Multi Language Site Alternative:
http://expressionengine.com/wiki/Multi_language_site_alternative/
This is a great technique and I have not had any problems so far. I AM NOT using the URL rewriting method mentioned at the bottom, which removes “index.php” from the URLs.
Assume I’m on a page like this and I’m logged in:
http://www.domain.com/en/index.php/something
Logout link would of course look like this:
http://www.domain.com/en/index.php?ACT=10
But, when logging out, you are taken here:
http://www.domain.com/en/ ... (which would really be index.php)
The problem is, it just shows up as a blank page. In fact, any of these four variations show up as a blank page:
http://www.domain.com/en
http://www.domain.com/en/
http://www.domain.com/en/index.php
http://www.domain.com/en/index.php/
Since there is an .htaccess file in the /en/ directory, this could be used to detect one of the above four URLs and redirect accordingly. I am terrible with .htaccess and regular expressions, so if any gurus out there could give me a hand, I’d greatly appreciate it.
It should detect one of the above four variations and redirect the user to:
http://www.domain.com/en/index.php/home/
Thank you,
Jonathan
Moved by Moderator to How To