From 72be48405c27c1d8994bfeb06e75520e1692a4dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Fri, 7 Oct 2022 17:31:47 +0200 Subject: [PATCH] url canonical homepage --- core/core.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 4cb304b2..0834aeae 100644 --- a/core/core.php +++ b/core/core.php @@ -1975,7 +1975,13 @@ class common { echo '' . $this->output['metaTitle'] . ''; echo ''; - echo ''; + if ( + $this->getData(['locale', 'homePageId']) === $this->getUrl(0) + ) { + echo ''; + } else { + echo ''; + } } /**