I have this url:
http://www.site.com/products-book_1.aspx?promo=free
Here is what I have in my web.config for the UrlRewriter rules:
<rewrite url="~/products-(.+)_(\d+).aspx" to="~/product.aspx?pid=$2" />
What can I add to this expression to also retrieve the promo value? The end result would be http://www.site.com/products.aspx?pid=1&promo=free
Or do I need to think about this a different way. Every example I see just uses expression for the values before the extension, not after. What about querystrings that need to be attached sometimes?