Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Pattern matches in Test dialog but not in Browser

$
0
0

Hello,

I have the rule below to attempt to redirect a url like this:

/foo-foo/bar%20/%20bar

to

/foo-foo/bar-bar

<rule name="Redirect %20/%20 " enabled="true" stopProcessing="true"><match url="(.*)%20/%20(.*)" /><conditions logicalGrouping="MatchAll" trackAllCaptures="false" /><action type="Redirect" url="{toLower:{R:1}-{R:2}}" appendQueryString="false" redirectType="Temporary" /></rule>

Essentially, I want to replace %20/%20 with a simple - character.

In the IIS Url Rewrite 2.0 interface, the pattern matches in the Test dialog, but doesn't match when I navigate to the url in my browser.

Any ideas?

Thanks!


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>