Hello, Do you really need a rewrite map? It looks like a rule that matches search/*/* and rewrites to search.aspx?val1={R:1}&val2={R:2} and another one for redirection that matches search.aspx?val1=*&val2=* and redirects to /search/{R:1}/{R:2} could do the trick. By the way, if in the URL Rewrite...