diff --git a/globalredirect.module b/globalredirect.module index f9a83e2..f1197c3 100644 --- a/globalredirect.module +++ b/globalredirect.module @@ -184,7 +184,8 @@ function globalredirect_init() { // There is a matching language for this alias if ($alias != $current_path) { if (isset($lang->domain)) { - drupal_goto($lang->domain . '/' . $alias, $options, 301); + $options['language'] = $lang; + drupal_goto($alias, $options, 301); } break; }