Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

URL rewrite of query string parameter

$
0
0

I've been unable to find an example along these lines.  I have a couple of products that are being retired, and their replacements are already available.  Essentially, I'd like to find any URLs that contain "?productID=1000", and redirect them to the same url, but with a modified query string parameter of the new productID ("?productID=1001").  So, in short:  calls towww.website.com/products.aspx?productID=1000 would redirect towww.website.com/products.aspx?productID=1001.  If possible, I'd like to do this sitewide, so with the same rule, calls towww.website.com/productDetail.aspx?productID=1000 would redirect towww.website.com/productDetail.aspx?productID=1001.

Is this possible, and what would it look like in a web.config?  Thanks!


Viewing all articles
Browse latest Browse all 2482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>