Page Forwarding with Parameters

Need help creating a page rule with parameters wild cards.

These URL
www.kung.com?a=foo&b=gold&c=bar
kung.com?a=foo&b=gold&c=bar

needs to forward to…
www.foo.com?a=foo&b=gold&c=bar

//I tried something like
*kung.com?a=$1&b=$2&c=$3
goes to
https://www.foo.com?a=$1&b=$2c=$3

and i get the error
"Replacement count does not match wildcard count"

thanks

Only if the query string contains these exact parameters?

yes only if it contains these.

In that case I’d expect this to do the trick

*kung.com?a=*&b=*&c=* -> https://www.foo.com/?a=$2&b=$3&c=$4

ugh - i still needed to use the star for wildcard. I missed read the docs. sigh. thanks for your help

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.