Viewing 2 replies - 1 through 2 (of 2 total)
  • This (untested) would probably work:

    RewriteEngine On
    RewriteCond %{QUERY_STRING} ^utm_source [NC]
    RewriteRule ^(.*)/$ /$1? [L,R=301]
    

    However, I would like to point out that you probably doesn’t need to redirect these URLs at all, as long as you have canonical URLs being set on your pages, that look like in your page’s HTML source:

    <link rel="canonical" href="https://www.exaple.com/ar/page-name/" />

    Thread Starter Yusup Ali

    (@fileour)

    Thank you @ashfame. It’s wok fine.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Redirect multilingual web page while contains utm_source’ is closed to new replies.