Home Plugins so pinyin slugs
Pinyin Slugs logo

Pinyin Slugs

by Pieter Bos on WordPress.org

Transforms Simplified or Traditional Chinese character titles into Pinyin to create a permalink friendly slug.

(8)
Settings page

Settings page

Chinese characters don’t come out good in permalinks. Without the Pinyin Slugs plugin activated, the example post I made for the screenshot will get a slug like this: %e6%90%9c%e7%b4%a2%e5%bc%95%e6%93%8e%e4%bc%98%e5%8c%96. With the plugin the slug automatically becomes sousuoyinqingyouhua.

Search engines such as Baidu cannot make much of the first slug, but they can handle pinyin perfectly, especially when it is written as one long string without hyphens or underscores.

It is possible to limit the amount of characters in the slug. The default is 100, which should be plenty for most.

The Pinyin Slugs plugin was forked from the Pinyin Permalinks plugin by user xiaole_tao as that project seemed abandoned. There have been many improvements since; read the changelog for details.

I have decided to only support this plugin through Github. Therefore, if you have any questions, need help and/or want to make a feature request, please open an issue over at Github. You can also browse through open and closed issues to find what you are looking for and perhaps even help others.

PLEASE DO NOT POST YOUR ISSUES VIA THE WORDPRESS FORUMS

Thanks for your understanding and cooperation.

WPML Compatible

The Pinyin Slugs plugin has received the WPML Certification of Compatibility and is featured on the WPML website with the article How to Build a WordPress Website in China and Reach an International Audience.

Active installations3K+
Weekly downloads
163-70.84%
Version2.3.5
Last updated4/27/2025
WordPress version4.6
Tested up to6.8.1
Tags
chinesemandarinpermalinkspinyinslugs
Pinyin Slugs | Plugin0