Hi there, I am trying to create a Rewrite rule but I seem to be having a lot of trouble with it and the rule i created does not seem to work.
Basically what i like to do is re-write alll URLS that are in the form of http://my-site/folder1/folder2/([_0-9a-z-]+)/([0-9]+) to serve up a pagehttp://my-site/folder1/folder2/mypage.asp?x={R:1}&y={R:2}
Could someone help me create this rule?
I tried doing something like this but it didn't work
<rulename="Rewrite to article.aspx">
<matchurl="^folder2/([_0-9a-z-]+)/([0-9]+)"/>
<actiontype="Rewrite"url="mypage.asp?x={R:1}&y={R:2}"/>
</rule>
Thank you in advance.