Wednesday 17 August 2011 6:04:18 am
Hey, I'm currently setting up a site on Community Project 2011.7 and need some help regarding translated URLs. The site is multilingual, has 4 siteaccesses (de, en, it, admin) and is using host based mapping for siteaccess detection (www.example.com, en.example.com, admin.example.com, ...). This is working fine so far, however I have a little problem with language switching and content being delivered on translated and untranslated URLs which leads to duplicate content. An example: I am on www.example.com/karriere (de) and want to switch to the english site and click on the languageswitcher for the en siteaccess. The link is www.example.com/switchlanguage/to/en/karriere When I access the english career page without the language switcher, the URL is en.example.com/career. However, the language switcher redirects me to en.example.com/karriere. This basically works (user gets to the right site), but is quite ugly in terms of consistency and SEO (same content reachable through multiple URLs). Is there a setting/extension/other possibility to:
- either set up the language switcher to redirect to the correct translated URL
- or (even better) let nodes check if their URL is the translated one and otherwise send a 301 redirect to the translated one
Thanks, Mathias
|