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,
I'm trying to have something like /faq/?thematique=xxxxxxx to be displayed as /faq/xxxxxx.
Here is my rule in the UrlRewriting.config file :
<add name="urlRewriteFaq" virtualUrl="^~/faq/(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/faq/?thematique=$1" ignoreCase="true" />
It is working if "xxxxx" is just a word, but if there is a space which is encoded as a '+', then I'm getting a 404 error for /faq/xxxx+xxx. The regex should get everything (.*), so I d'ont know how I can resolve this issue.
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 Rewriting and UrlEncode
Hi,
I'm trying to have something like /faq/?thematique=xxxxxxx to be displayed as /faq/xxxxxx.
Here is my rule in the UrlRewriting.config file :
<add name="urlRewriteFaq"
virtualUrl="^~/faq/(.*)"
rewriteUrlParameter="ExcludeFromClientQueryString"
destinationUrl="~/faq/?thematique=$1"
ignoreCase="true" />
It is working if "xxxxx" is just a word, but if there is a space which is encoded as a '+', then I'm getting a 404 error for /faq/xxxx+xxx. The regex should get everything (.*), so I d'ont know how I can resolve this issue.
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.