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
I made a few changes to umbracosettings.config , so it also encodes é and è to the e character in url's.
ofcourse this broke some incoming links from google, and i wanted to permanently redirect these to the new url...
I added this line to the urlrewriting.config file:
<urlrewritingnet xmlns="http://www.urlrewriting.net/schemas/config/2006/07"> <rewrites> <add name="beelNL" ignoreCase="true" virtualUrl="^~/nl/architectuur/stéphane-beel" redirect="Application" redirectMode="Permanent" destinationUrl="~/nl/architectuur/stephane-beel" /> </rewrites></urlrewritingnet>
But now when i load the old url (with the accent), in stead of 301 redirecting to the new url, it just shows the content for the old URL... now i have 2 url's showing the new content instead of the old permanently redirecting to the new?
What am i doing wrong here?
Kind regards,
Rik
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 after changing character replacements
I made a few changes to umbracosettings.config , so it also encodes é and è to the e character in url's.
ofcourse this broke some incoming links from google, and i wanted to permanently redirect these to the new url...
I added this line to the urlrewriting.config file:
But now when i load the old url (with the accent), in stead of 301 redirecting to the new url, it just shows the content for the old URL... now i have 2 url's showing the new content instead of the old permanently redirecting to the new?
What am i doing wrong here?
Kind regards,
Rik
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.