Get Original URL before being redirected by IIS – SEO
Using IIS, we're currently redirecting URLs. But to display canonical URL's in the site for SEO, we want the original URL. Example: Actual URL: www.example.com/topsellers/mobiles Redirected URL: www.example.com/products?type=mobiles IIS Rewrite Rules: <rule name="url1" stopProcessing="true"> <match url="topsellers/([a-zA-Z0-9]+)" /> <action type="Rewrite" url="products?type={R:1}"…