• Resolved rawagmbh

    (@rawagmbh)


    I’m trying to figure out how to keep utm parameters while adding a language switch to that redirect …
    The URL:
    https://mydomain/banana?utm_source=qr-code&utm_medium=packaging&utm_campaign=banana

    My parameter:
    Source:
    ^/banana(.*)
    REGEX {x}

    URL and Language

    Language:
    de

    redirection 301

    Target:
    /de/banane/$1

    /de/banane/$1

    …but unfortunately it doesn’t work properly …
    The UTMs are taken along, but the language is not changed.
    When I play with the positions he always takes the lowest number as language.

    Where is the mistake?

Viewing 1 replies (of 1 total)
  • Plugin Author John Godley

    (@johnny5)

    You can use the ‘ignore & pass query param’ option instead of using a regular expression.

    What do you mean by the language isn’t changed? What number?

    • This reply was modified 3 years, 5 months ago by John Godley.
Viewing 1 replies (of 1 total)
  • The topic ‘UTM and Language’ is closed to new replies.