WordPress Cyrillic Slugs plugin

Tuesday, 24 April, 2007

If you have been using WordPress for a while, you are probably familiar with its great and flexible URL rewrite functions which let your posts use URLs that are friendly both to users and search engines. For example, I could configure my blog so that this entry can be accessed at http://petko.bossakov.eu/wordpress-cyrillic-slugs-plugin.

Unfortunately, this feature doesn’t work so smoothly with post titles in Cyrillic. They would confuse the code which generates the “Slugs” which are included in the friendly URL, resulting in a bunch of meaningless characters, or – even worse – broken URLs.

I just wrote a WordPress plugin which takes care of that. It automatically converts your Cyrillic post titles in phonetically equivalent Latin slugs. I have created it with Bulgarian transliteration in mind, but it should be compatible with Russian and other languages that use the Cyrillic alphabet.

Download here: Cyrillic Slugs 1.0

  • 4 Comments

    • peter says:

      Hi, great plugin is it possible to change tag slugs?

    • That’s great! But how do you manage to write cyrillic posts in english WordPress? I tried and got just ? signs instead of my letters (I use win1251 encoding page).

    • Маркет says:

      Hi,

      I tried to use your plugin in Russian blog, thinking it could change old slugs. But the plugin seems to work only on submitting posts. Therefore is similar to rustolat.

    • chernobyl says:

      @Маркет: yes, essentially it’s the same, and Rustolat is probably better for Russian users, so I’ll add a link to it.

      Have your say on this



      Your email is never shared.