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.
WordPress
Search for "Pinyin Slugs" and install with the
Plugins > Add New back-end page.
… OR …
Follow these steps:
- Download zip file.
- Upload the zip file via the Plugins > Add New > Upload page … OR … unpack and upload with your favorite FTP client to the /plugins/ folder.
- Activate the plugin on the Plugins page.
Done!
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.