Copied to clipboard

Flag this post as spam?

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


  • yunior laureano 3 posts 83 karma points
    Mar 13, 2020 @ 13:35
    yunior laureano
    0

    Urls with accent marks

    Hello,

    How can I avoid people from creating urls with accent mark?

    Thanks!!

  • John C Scott 457 posts 1157 karma points
    Mar 13, 2020 @ 14:48
    John C Scott
    100

    you'll find that the URL is sanitised EG if some creates a content node with a name which contains accents then the URL used for the page will have those replaced with safe latin characters

  • yunior laureano 3 posts 83 karma points
    Mar 13, 2020 @ 16:02
    yunior laureano
    0

    The company I work for doesn´t wnat the accent marks to be shown in the url.

    Example: https://www.aduanas.gob.do/nosotros/plan-estratégico/.

    I would like to know if there´s a way to modify the umbraco code.

  • John C Scott 457 posts 1157 karma points
    Mar 13, 2020 @ 16:06
    John C Scott
    0

    Yes that definitely shouldn't happen by default Are you getting this?

  • John C Scott 457 posts 1157 karma points
    Mar 13, 2020 @ 16:10
    John C Scott
    0

    For example

    If I entitle my content node: /plan-estratégico/

    you see that the URL is changed automatically to /plan-estrategico/

    are you seeing the same when you try this or different?

  • John C Scott 457 posts 1157 karma points
    Mar 13, 2020 @ 16:26
    John C Scott
    1

    Yes I am seeing that this is the case for you my apologies Does this advice help you?

    https://our.umbraco.com/forum/developers/api-questions/40259-Accents-in-URL

  • yunior laureano 3 posts 83 karma points
    Mar 13, 2020 @ 18:27
    yunior laureano
    0

    :) Thanks you very much!! It did work.

    I am new to this umbraco, so I need to learn a lot. The guy in charge of the project quit the job!!

    Thank you!!

  • 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.

Please Sign in or register to post replies