Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rik Helsen 670 posts 873 karma points
    Aug 13, 2010 @ 11:49
    Rik Helsen
    0

    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:

    <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

Please Sign in or register to post replies

Write your reply to:

Draft