diff --git a/sites/all/modules/globalredirect/globalredirect.module b/sites/all/modules/globalredirect/globalredirect.module
index 1e6ef7f..a51e785 100644
--- a/sites/all/modules/globalredirect/globalredirect.module
+++ b/sites/all/modules/globalredirect/globalredirect.module
@@ -94,6 +94,10 @@ function globalredirect_init() {
       $path = $_REQUEST['q'];
       language_url_rewrite($path, $options);
     }
+
+    if (module_exists('geoip_language') && variable_get('language_negotiation', LANGUAGE_NEGOTIATION_NONE) == GEOIP_LANGUAGE_NEGOTIATION_PATH) {
+      $options['prefix'] = $options['language']->prefix;
+    }
     $prefix = rtrim($options['prefix'], '/');
 
 

