[WordPress] 外掛分享: Pinyin Slugs

首頁外掛目錄 › Pinyin Slugs
WordPress 外掛 Pinyin Slugs 的封面圖片
3,000+
安裝啟用
★★★★★
5/5 分(8 則評價)
55 天前
最後更新
問題解決
WordPress 4.6+ v2.3.7 上架:2013-08-18

內容簡介

中文字符在永久链接中顯示不佳。若未啟用拼音永久鏈接外掛,示例文章的永久鏈接將會變成: %e6%90%9c%e7%b4%a2%e5%bc%95%e6%93%8e%e4%bc%98%e5%8c%96。有了外掛,永久鏈接會自動變成sousuoyinqingyouhua。

像百度這樣的搜索引擎對第一個永久鏈接不太容易處理,但是它們可以完美處理拼音,尤其是單個長字符串沒有連字符或底線的拼音。

永久鏈接字符數可以限制。默認值是 100,對大多數用戶來說足夠了。

這個拼音永久鏈接外掛是由用戶xiaole_tao fork 自拼音永久鏈接插件,因為該項目似乎已經被放棄。自從那以來,已經進行了很多改進;詳細信息請閱讀變更日誌。

我決定只通過Github支持此插件。因此,如果您有任何疑問、需要幫助和/或想要提出功能請求,請在 Github 上打開一個問題。您也可以通過閱讀開放和已關閉的問題來尋找您需要的內容,甚至有可能幫助其他人。

請勿在 WordPress 論壇上發布您的問題。

感謝您的理解和合作。

與 WPML 兼容

拼音永久鏈接外掛已獲得 WPML兼容性認證,並在 WPML 網站上與文章在中國建立 WordPress 網站並吸引國際觀眾的方法中推薦使用。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.3.7) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Pinyin Slugs」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon