Redirect multilingual web page while contains utm_source
-
I have https://www.exaple.com/page-name/?utm_source=dlvr.it&utm_medium=twitter
I have added the following code in the .htaccess file and redirected it to https://www.exaple.com/page-name/. That’s fine.
RewriteEngine On
RewriteCond %{QUERY_STRING} ^(utm_source) [NC]
RewriteCond %{REQUEST_URI} ^/$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)$ [NC]
RewriteRule ^ %{REQUEST_URI}? [L,R=301]
But the multilingual page is not redirected with this code.Now, how can I redirect a multilingual page?
https://www.exaple.com/ar/page-name/?utm_source=dlvr.it&utm_medium=twitter
to
https://www.exaple.com/ar/page-name/
Anyone, please help me.
The topic ‘Redirect multilingual web page while contains utm_source’ is closed to new replies.