I was looking to create a url regular expression rule with below condition.
redirect all request from www.mysite.com/abc/* to www.yoursite.com/abc/* except www.mysite.com/abc/xyz. Could you please provide your suggession for the same.
It would be simplest if you added a NOT match condition for that path ahead of the regex, like so:
Hi Shekhar Rateria Agarwal,
Does this work for your requirement?
1. "www.mysite.com/abc/xyz" does not match the condition and no redirection.
(/abc/x , /abc/xy do not match the condition as well. /abc/xab or something other character match.)
2. "www.mysite.com/abc/123/456" match the condition and make redirection to "http://www.yoursite.com/abc/123/456".
Retrieving data ...