Viewing 3 replies - 1 through 3 (of 3 total)
  • If a redirect needs to be query string agnostic using the plugin the solution that I’ve found that works is this:

    1) Create two redirect
    2) The first redirect is the one w/o query string: /cow/ /horse/
    3) The second redirect handles the presence of query strings: /cow/(\?.*) /horse/$1

    Thread Starter dooza

    (@dooza)

    Ah ha! It didn’t work, then I ticked Regex and its all good, thank you very much!

    Even better, in one redirect:
    /cow/(\?(.*))?
    to:
    /horse/$2

    I love regex.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect with querystring’ is closed to new replies.