Jump to:

1851 Posts in 1606 Topics by 561 members

Blog Module

SilverStripe Forums » Blog Module » Generation URL address

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 156136 Views
  • Gaudino
    Avatar
    Community Member
    8 Posts

    Generation URL address Link to this post

    Hi,

    I need to help please.

    I use SS for Czech (cs_CZ) and I have problem with automatic generation URL address.

    I little example:

    If I have the title of blog entry "Příliš žluťoučký kůň úpěl ďábelské ódy", so my URL address is something this: "p-li-lu-ou-k-k-p-l-belsk-dy"

    I need to have "prilis-zlutoucky-kun-upel-dabelske-ody"

    I know, I can change this address manualy, but for my clients is not a comfortable. I need to have like the function.

    Thank you

  • Jare
    Avatar
    Community Member
    5 Posts

    Re: Generation URL address Link to this post

    Bump. Hi, I have the same problem with Finnish language. "Tietoa meistä" becomes "tietoa-meistae", but the scandinavian characters should not actually change. "tietoa-meistä" should be okay in addresses. But if it must be changed, "tietoa-meista" would be better. Thanks for your support!

  • Jare
    Avatar
    Community Member
    5 Posts

    Re: Generation URL address Link to this post

    Finally got the answer after heavy googling.
    Insert this code to the bottom of mysite/_config/config.yml:

    URLSegmentFilter:
    default_allow_multibyte: true

    156136 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.