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 have a site with the folow regular expresion in my UrlRewriting.config:
<add name="nlman"
virtualUrl="^~/nl/vacatures/management"
destinationUrl="~/nl/vacatures/?cat=nlman"
rewriteUrlParameter="ExcludeFromClientQueryString" ignoreCase="true" />
This works perfect. But the other links:
nl/vacatures/management/regionaal-sales-manager may not redirect to that. Do anyone have a idee how i can fix this?
Thanks Tom
If you are wanting any url starting ~/nl/vacatures/management to redirect to ~/nl/vacatures/?cat=nlman
then virtualUrl="^~/nl/vacatures/management.*" should suffice?
No i want only the url exactly "^~/nl/vacatures/management" to redirect all the other when there is something after management/...." it may not redirect.
Now he redirect all the urls when ther is "/nl/vacatures/management" in it
virtualUrl="^~/nl/vacatures/management$" ?
Yes now he work. Thanks
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
Regular expresion problem
Hi,
I have a site with the folow regular expresion in my UrlRewriting.config:
<add name="nlman"
virtualUrl="^~/nl/vacatures/management"
destinationUrl="~/nl/vacatures/?cat=nlman"
rewriteUrlParameter="ExcludeFromClientQueryString" ignoreCase="true" />
This works perfect. But the other links:
nl/vacatures/management/regionaal-sales-manager may not redirect to that. Do anyone have a idee how i can fix this?
Thanks Tom
If you are wanting any url starting ~/nl/vacatures/management to redirect to ~/nl/vacatures/?cat=nlman
then virtualUrl="^~/nl/vacatures/management.*" should suffice?
No i want only the url exactly "^~/nl/vacatures/management" to redirect all the other when there is something after management/...." it may not redirect.
Now he redirect all the urls when ther is "/nl/vacatures/management" in it
virtualUrl="^~/nl/vacatures/management$" ?
Yes now he work. Thanks
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.