Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Does Drupal Core not already perform the desired redirection by setting "Path prefix with language fallback." under language negotiation settings?
See: /admin/settings/language/configure/language
Comments
Comment #1
iamEAP CreditAttribution: iamEAP commentedSorry. Drupal Core doesn't do this out of the box, however the Global Redirect module accomplishes the same thing.