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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...