I have some URLs as followshttp://localhost/wordpress/latest/joe/12http://localhost/wordpress/latest/bloggs/14http://localhost/wordpress/latest/thing/15I would like to redirect them tohttp://localhost/wordpress/file.php?id=12http://localhost/wordpress/file.php?id=14http://localhost/wordpress/file.php?id=15So latest needs to be in the URL, then it could be anything, then a numberAny advice? I've tried this and although the test is fine, going to the URL doesn't work. I've even tried using a rewrite map but that doesn't work either.By 'doesn't work' I mean the original URL stays on place.<rule name=TEST patternSyntax=ECMAScript stopProcessing=true>  <match url=/wordpress/latest/(.*)/(.*) />  <conditions logicalGrouping=MatchAll trackAllCaptures=false />  <action type=Redirect url=http://localhost/wordpress/file.php?id=$2 appendQueryString=false /></rule>ReWrite Map<rule name=ArticlesRule>                    <match url=.* />                    <conditions logicalGrouping=MatchAll trackAllCaptures=false>                        <add input={Articles:{REQUEST_URI}} pattern=(.+) />                    </conditions>                    <action type=Rewrite url={C:1} appendQueryString=false />                </rule></rules>            <rewriteMaps>                <rewriteMap name=Articles>                    <add key=/wordpress/latest/dfjkdskfjdklsf/12 value=/wordpress/?id=12 />                </rewriteMap>            </rewriteMaps>
IIS URL Rewrite Wildcards
url rewriting;iis7;iis