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,
In the UrlRewriting.config file I have the folloing rule defined:
UrlRewriting.config
<add name="redirectPage" redirectMode="Permanent" redirect="Domain" ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite" virtualUrl="/NL/Services/Services.aspx?s=auto-onderdelen" destinationUrl="/auto-onderdelen/" />
But this is not working. if I remove the ?s=auto-onderdelen part then it works.
?s=auto-onderdelen
What am I missing here? I have serveral of these old pages that needs to get rewriten to the new urls.
/Michael
Hi Michaël,
I guess your are doing this using the UrlRewriting component in Umbraco.
Maybe you can do the rewrite on IIS. The benefit is that it will be faster because it's done by the server instead of the software.
Dave
@Dave,
Thanks for the suggestion I will take a look at this.
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
UrlRewrite not working when url params are defined
Hi,
In the
UrlRewriting.config
file I have the folloing rule defined:But this is not working. if I remove the
?s=auto-onderdelen
part then it works.What am I missing here? I have serveral of these old pages that needs to get rewriten to the new urls.
/Michael
Hi Michaël,
I guess your are doing this using the UrlRewriting component in Umbraco.
Maybe you can do the rewrite on IIS. The benefit is that it will be faster because it's done by the server instead of the software.
Dave
@Dave,
Thanks for the suggestion I will take a look at this.
/Michael
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.