[9.2.03] intégration du filtre Facebook

This commit is contained in:
Fred 2019-08-02 10:54:43 +02:00 committed by GitHub
parent 0e048a3866
commit 76248deccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,5 +35,12 @@ Options -Indexes
Options -MultiViews
</IfModule>
# Corrige lien Facebook en direction de la racine du site
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{QUERY_STRING} ^(.*)&?fbclid=[^&]+&?(.*)$ [NC]
RewriteRule ^/?(.*)$ /$1?%1%2 [R=301,L]
<IfModule mod_rewrite.c>
# Attention, surtout ne rien modifier ci-dessous !
# URL rewriting
# URL rewriting