-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alias confused with culture_key #48
Comments
Please note that Babel itself doesn't perform any redirects. Currently there is no gateway plugin shipped with Babel. How does your gateway plugin look like? Are you using any htaccess redirects? |
|
Here we go, the unwanted behaviour is caused by your own gateway plugin. This statement validates to true for something like /demand.html
Check out the offical Babel tutorials at http://www.multilingual-modx.com/ to get your context switches work properly. |
That was what was wrong! Thank you! But I want people to be redirected to On Wed, Dec 21, 2011 at 2:38 AM, Jakob Class <
Best Regards, Jean-Marc Buytaert |
Yes, I think so. Take a look at this tutorial for some htaccess rules: http://www.multilingual-modx.com/blog/2011/seo-friendly-multilingual-websites-with-modx-and-babel.html |
I have a site in 3 contexts: web, french (culture key: fr) and german (culture key: de). In the web (english) context, I have some alias that begin with "de" (ex: demand.html).
The problem is the following: Babel only takes the first 2 letters after the sitename and transfers it to its culture key, so when I load www.site.com/demand.html, it considers it as www.site.com/de/mand.html, therefore directing me to a 404 page.
This should not be happening. Babel is a great tool and I'm glad that I found it, I just hope that this gets fixed quickly!
Thanks.
jm
The text was updated successfully, but these errors were encountered: