www.example.com
in browser, URL intercepted is www.example.com/
. Note a trailing ‘/’ slash at the end of URL. A rule with Equals operator and URL as www.example.com
does not match www.example.com/
. You may consider adding Slash (‘/’) at the end of URL in your rule. You can alternatively create two pairs in the same rule as well.URL given in Rule: http://www.google.com Intercepted URL: http://www.google.com/ Result: Does not match (Observe trailing slash)
String in Rule: yahoo Intercepted URL: https://www.yahoo.com/ Result: Match
String in Rule: com?a=1 Intercepted URL: https://www.got.com?a=2 Result: Does Not Match
URL Matches (Regex): /(.+)\.google/ig Destination: https://$1.google.com
*
) as wildcard operator. *
can match 0 or more characters in intercepted url. Please note that in wildcard match, complete URL is matched with given expression and *’s can be replaced with respective values in destination URL.Expression: *://*.yahoo.com URL: http://cricket.yahoo.com Result: $1 = http, $2 = cricket
Expression: *yahoo URL: http://www.yahoo.com Result: Does not match. Note the trails does not match
Expression: *yahoo* URL: http://www.yahoo.com Result: $1 = http://www. $2=.com
Expression: http://*.yahoo.com URL: http://cricket.yahoo.com/ Result: Does not match (Observe the trailing slash in URL)