Why URLRewriter.NET doesn't get querystring values?
问题 I just started using URLRewriter.net with my blog and I have a problem with getting the query string values. I have a rule setting like: <rewrite url="~/blog.aspx(\?.+)?$" to="~/hiddenFolder/blog.aspx?mode=default&$2"/> But when I try to access /blog.aspx?page=1 the page parameter is not passed. Other parameters work great and there are no conflicts in rewriting rules. 回答1: I think the problem is that $2 is out of range as you only have one group in your RegEx. Try $1. EDIT In addition, it