diff --git a/redirect.module b/redirect.module index 327f0fe..083441e 100644 --- a/redirect.module +++ b/redirect.module @@ -249,7 +249,7 @@ function redirect_url_inbound_alter(&$path, $original_path, $path_language) { // Redirect the front page to the root level. if ($is_front_page - && variable_get('redirect_global_home', 0) + && variable_get('redirect_global_home', 1) && !variable_get('redirect_global_canonical_front', 0) && base_path() != $request_path) { return redirect_redirect((object)array('redirect' => '', 'type' => 'global'));