Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Current URLs to target
http://localhost:12345/our-prods/subsec.aspx?mid=6 - Displays all Media products
http://localhost:12345/our-prods/for-sale.aspx?mid=6&sid=19 - Displays all media products, for a particular brand
http://localhost:12345/prod/details.aspx?pid=11&mid=6&sid=19 - displays the product
I am trying to get the URL to go from
http://localhost:12345/our-prods/subsec.aspx?mid=6
to
http://localhost:12345/our-prods/subsec.aspx?Cds
In the UrlRewriting.config file i add a new entry:
<add name="TestUrl" virtualUrl="^~/our-prods/subsec/(.*)/(.*).aspx" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/our-prods/subsec.aspx?mid=$1" ignoreCase="true" />
I refresh the page and it doesnt work. What could i be doing wrong?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Help with UrlRewrite
Current URLs to target
http://localhost:12345/our-prods/subsec.aspx?mid=6 - Displays all Media products
http://localhost:12345/our-prods/for-sale.aspx?mid=6&sid=19 - Displays all media products, for a particular brand
http://localhost:12345/prod/details.aspx?pid=11&mid=6&sid=19 - displays the product
I am trying to get the URL to go from
http://localhost:12345/our-prods/subsec.aspx?mid=6
to
http://localhost:12345/our-prods/subsec.aspx?Cds
In the UrlRewriting.config file i add a new entry:
I refresh the page and it doesnt work. What could i be doing wrong?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.