Here's the situation:
- 2 languages
- 2 language versions of the page, both with their own aliases
- user is not using any language prefix
- when using the alias associated with the default language everything works fine - Drupal redirects user to a prefixed path
- but when using the alias associated with the non-default language Drupal returns a page not found error

For me it looks like Drupal is failing to identify the user's language.

Comments

damien tournoud’s picture

What are the paths you set up for each of the languages?

archetwist’s picture

What are the paths you set up for each of the languages?

opera/operator and opera/anonimowo. Both languages have prefixes so the URLs look like this: http://archetwist.com/en/opera/operator and http://archetwist.com/pl/opera/anonimowo.

http://archetwist.com/opera/anonimowo is working (user is redirected), http://archetwist.com/opera/operator is not.

errement’s picture

Status: Active » Fixed
archetwist’s picture

Status: Fixed » Active

I should have added that the problem appears only when the user's language is not English. I'm not sure the patches you've linked to really fix this issue. Or do they?

gábor hojtsy’s picture

Category: bug » support
Status: Active » Fixed

The path alias is resolved with the language being used. The posts have their aliases saved with their language, so if there is no information in the URL about the language, then the fallback will use the site default language, and will not find all the other paths. Why not use the aliases proper?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.