Hi All,
I'm looking to redirect old urls /blog/?p=13 (the number varies) to a static page..I'm looking to place this code in my webconfig file..
the regex I've used to capture this is..^blog\/?p=[0-9]$
and the code I use to place this in the webconfig file...
<rewrite>
<rules>
<rule name="Blog Redirects" stopProcessing="true">
<match url="^blog\/?p=[0-9]$" />
<action type="Redirect" url="redirect url" redirectType="Permanent"/>
</rule>
</rules>
</rewrite>
Obviously the redirect isn't working, any pointers would be very much appreciated..
Thanks
Darren