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
    Jan 06, 2010 @ 16:06
    Rik Helsen
    0

    Niceurl doesn't filter out accents like élévàè

    Is there any way to have niceurl return cleaner urls?

    When I create a french page, I don't want accents in the filename, umbraco already handles the spaces and some special chars like "ö", but not all of them...

    can anyone help me out?

    Kind regards,

    Rik

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Jan 06, 2010 @ 16:14
    Thomas Höhler
    0

    take a look into the umbracoSettings.config where you can set the character replacings:

    <requestHandler>
    <!-- this will ensure that urls are unique when running with multiple root nodes -->
    <useDomainPrefixes>true</useDomainPrefixes>
    <urlReplacing>
    <char org=" ">-</char>
    <char org="&quot;"></char>
    <char org="."></char>
    <char org=";"></char>
    <char org="/"></char>
    <char org=":"></char>
    <char org="#"></char>
    <char org=","></char>
    <char org="&amp;"></char>
    <char org="?"></char>
    <char org="æ">ae</char>
    <char org="ø">oe</char>
    <char org="å">aa</char>
    <char org="ä">ae</char>
    <char org="ö">oe</char>
    <char org="ü">ue</char>
    <char org="ß">ss</char>
    <char org="("></char>
    <char org=")"></char>
    <char org="["></char>
    <char org="]"></char>
    <char org="'"></char>
    <char org="\"></char>
    </urlReplacing>
    </requestHandler>

    Thomas

  • Rik Helsen 670 posts 873 karma points
    Jan 08, 2010 @ 10:33
    Rik Helsen
    0

    Thanks a lot !

Please Sign in or register to post replies

Write your reply to:

Draft