Drupal can automagically detect the language to use when displaying content :

  • Based on URL
  • Based on User preference
  • Based on Browser language.

However, when I request a url like : http://mysite.com/toot/lala, Drupal detects the english language (browser settings), but it doesn't rewrite the url to : http://mysite.com/en/toot/lala

I'm afraid that this behavior will induce Duplicate Contents errors. Does someone know how to correctly set this redirection ?


The Global Redirect module will help you with that issue.

It has a redirection system specific for language prefixes, preventing content duplication.

  • This module offers indeed everything need, and many more. Thanks – Jean-Michel Garcia Jan 21 '13 at 12:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.