From d6f97b03bba278cb6b8a1e8ca452efd8e43ad31a Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 8 Jan 2021 15:21:15 +0100 Subject: [PATCH] =?UTF-8?q?fbclid=20dans=20htaccess=20avec=20la=20r=C3=A9?= =?UTF-8?q?=C3=A9criture?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/config/config.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/module/config/config.php b/core/module/config/config.php index 85f34738..9da3c94f 100755 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -552,6 +552,8 @@ class config extends common { PHP_EOL . '' . PHP_EOL . "\tRewriteEngine on" . PHP_EOL . + "\tRewriteCond %{QUERY_STRING} ^(.*)&?fbclid=[^&]+&?(.*)$ [NC]". PHP_EOL . + "\tRewriteRule ^/?(.*)$ /$1?%1%2 [R=301,L]". PHP_EOL . "\tRewriteBase " . helper::baseUrl(false, false) . PHP_EOL . "\tRewriteCond %{REQUEST_FILENAME} !-f" . PHP_EOL . "\tRewriteCond %{REQUEST_FILENAME} !-d" . PHP_EOL .