W
Willy
I have a website that uses querystrings on a certain page to show multiple
contents.
I have created mapped pages to hide the gory details of these querystrings.
So instead of details.aspx?ID=kldjlkdjldsjlkds&cat=jjfjfj
the client sees products.aspx
I also use these "mapped" pages in my sitemap file.
This site is multilingual so I have buttons on the page to switch languages.
The switch works except that the thing insists on going to
details.aspx?ID=kldjlkdjldsjlkds&cat=jjfjfj instead of products.aspx. This
spoils the breadcrumbs that are linked to the sitemap file.
The code I use is as simple as :
Me.Page.Response.Redirect(Me.Page.Request.RawUrl.ToString, True)
(rawurl contains products.aspx)
Can somebody tell me what I am doing wrong ?
Thanks a lot.
contents.
I have created mapped pages to hide the gory details of these querystrings.
So instead of details.aspx?ID=kldjlkdjldsjlkds&cat=jjfjfj
the client sees products.aspx
I also use these "mapped" pages in my sitemap file.
This site is multilingual so I have buttons on the page to switch languages.
The switch works except that the thing insists on going to
details.aspx?ID=kldjlkdjldsjlkds&cat=jjfjfj instead of products.aspx. This
spoils the breadcrumbs that are linked to the sitemap file.
The code I use is as simple as :
Me.Page.Response.Redirect(Me.Page.Request.RawUrl.ToString, True)
(rawurl contains products.aspx)
Can somebody tell me what I am doing wrong ?
Thanks a lot.