Milano Rock City

Petko’s weblog.

WordPress Cyrillic Slugs plugin

Filed under: In English — 24.4.2007 @ 12:11

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 »

  1. peter:

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

  2. Artem Golubev:

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

  3. Ìàðêåò:

    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.

  4. chernobyl:

    @Ìàðêåò: yes, essentially it’s the same, and Rustolat is probably better for Russian users, so I’ll add a link to it.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>