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
Hi all,
I try to do some redirects using UrlRewriting.config .
i have to redirect ~/page.aspx?pid=231 to /partner-with-us/ .
Unfortunately this is not working, and this because i have the query string. I got a strange error "Sequence contains no elements"
Can someone help me with this?
Thanks
Hi Lazau,
How did you try to do redirect?
What are you using?
Thanks,
Alex
Hi Alex,
Thanks for writing. I'am using UrlRewriting.config, i think that it comes with Umbraco. Finally I've succeeded in this way:
<add name="bb" virtualUrl="^~/page.aspx(.*)231$" rewriteUrlParameter="IncludeQueryStringForRewrite" redirect="Application" redirectMode="Permanent" destinationUrl="~/partner-with-us/" ignoreCase="true" />
Florin
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
Url Rewrite with query string
Hi all,
I try to do some redirects using UrlRewriting.config .
i have to redirect ~/page.aspx?pid=231 to /partner-with-us/ .
Unfortunately this is not working, and this because i have the query string. I got a strange error "Sequence contains no elements"
Can someone help me with this?
Thanks
Hi Lazau,
How did you try to do redirect?
What are you using?
Thanks,
Alex
Hi Alex,
Thanks for writing. I'am using UrlRewriting.config, i think that it comes with Umbraco. Finally I've succeeded in this way:
Florin
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.