[WordPress] 外掛分享: Aucor URL Sanitizer

首頁外掛目錄 › Aucor URL Sanitizer
60+
安裝啟用
尚無評分
2414 天前
最後更新
問題解決
WordPress 4.7.3+ PHP 7.0+ v2.1 上架:2019-08-07

內容簡介

本外掛可將文章、標籤和媒體檔案名稱中的西里爾字母、格魯吉亞字母、阿拉伯字母和漢字轉換為拉丁字母。

此外掛使用以下外掛的部分功能:

Arabic-to-latino
Cyr to Lat enhanced
Pinyin Slugs

問題

WordPress 無法正確地處理所有語言的消毒,這會使得美化的永久鏈接僅顯示帖子 ID。有一些獨立的外掛可處理消毒,但它們通常無法完美配合,並可能刪除其他語言的部分內容。

解決方案

此外掛將多個可行的消毒外掛結合在一起,讓它們能夠完美配合。

如果您只需要上述其中一個外掛,您應該(並且可能應該)使用它們而不是此外掛。如果您需要多個這樣的外掛,那麼這是一個無衝突的組合。

此外掛消毒了哪些內容?

帖子永久鏈接
標籤永久鏈接
檔案名稱

這些是通過 WordPress 的濾鏡消毒,在帖子保存等操作中完成。

注意:目前還沒有批量消毒選項。如果您需要這樣的功能,上述某些外掛有其自己的解決方案,因此在此添加功能不會很麻煩。提交 PR!

其他語言怎麼辦?

提交 PR 以添加其他語言的支持。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Aucor URL Sanitizer」→ 直接安裝(推薦)

原文外掛簡介

Converts Cyrillic, Georgian, Arabic and Chinese characters in post, term slugs and media file names to Latin characters.
This plugins uses parts from following plugins:

Arabic-to-latino
Cyr to Lat enhanced
Pinyin Slugs

The problem
WordPress cannot sanitize all languages correctly which leaves pretty permalink with bare post ID. There are a few separate plugins to handle sanitazing but they won’t generally play along nicley and end up often removing parts from other languages.
The solution
This plugins combines the few working slug sanitazing plugins so that they will work together.
If you need only one of above plugins, you can (and probably should) use them instead of this. If you are in need of multiple of these plugins, this is the conflict-free combination for you.
What this plugin sanitizes?

Post slug
Term slug
Filename

These are sanitized with WordPress’s filter and done in post save etc.
Notice: There is no bulk sanitizing option right now. If you are in need of it, some of the plugins above have their own solutions so adding the feature here wouldn’t be such a big hassle. Send a PR!
What about language X?
Send PR to add other languages to the mix.

延伸相關外掛

文章
Filter
Mastodon