From 2300ffc47d4d5e519184e0b3c241f3b08f7dead3 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Sat, 11 Mar 2023 13:13:18 +0100 Subject: [PATCH] Fix lang parameter being set in $canonical_query during alt_link iteration --- common_config.php | 1 + 1 file changed, 1 insertion(+) diff --git a/common_config.php b/common_config.php index 0500a12..902f519 100644 --- a/common_config.php +++ b/common_config.php @@ -186,4 +186,5 @@ function alt_links(): void echo ''; echo ''; } + unset($canonical_query['lang']); }