Copied to clipboard

Flag this post as spam?

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


  • RJ 1 post 71 karma points
    May 04, 2016 @ 05:58
    RJ
    0

    Same text to the link document

    Hi, i was created two umbraco document type called first,second.i used to create page based on two templates ,while creating page i given Swedish text FÖNSTER when i go to the properties , checked the link to document type:/foenster. like it shows.

    is there any possibility to get wat ever text i given in the page creation. I want to be link to document type:/FÖNSTER is any one knows help me.

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    May 04, 2016 @ 07:21
    Dennis Adolfi
    0

    Hello RJ.

    In your /Config/umbracoSettings.config file, you need to add a urlReplacing section in the requestHandler section like this:

    You then need to restart your app-pool.

    <urlReplacing toAscii="false" >
          <char org="å">å</char>
          <char org="ä">ä</char>
          <char org="ö">ö</char>
        </urlReplacing>
    

    NOTE: this will not automaticly happen for every page in your application. You need to publish every site that has ÅÄÖ in the Name and then the new URL will be saved. Or re-publish the entire site.

    With the about setting, im able to get this URL for one of my clients, hope it helps you.

    enter image description here

    Lycka till! :)

  • Dennis Adolfi 1082 posts 6449 karma points MVP 6x c-trib
    May 04, 2016 @ 07:29
    Dennis Adolfi
    0

    NOTE 2: if you set toAscii=true, you can skip the char elements. Your URL will then be /fonster instead of /foenster, which in my opinion is nicer. I personally dont like ÅÄÖ in urls, but sometimes the client really wants it.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 04, 2016 @ 07:30
    Jan Skovgaard
    0

    Just for future reference for others who might come across these two posts the same question has been asked by another user here where I threw in my replies :) https://our.umbraco.org/forum/using-umbraco-and-getting-started/77020-change-the-text-in-link-to-document-type#comment-246192

Please Sign in or register to post replies

Write your reply to:

Draft