[WordPress] 外掛分享: Search Fixer

首頁外掛目錄 › Search Fixer
200+
安裝啟用
尚無評分
5389 天前
最後更新
問題解決
WordPress 3.0+ v2.0 上架:2011-06-15

內容簡介

Search Fixer 可以正確處理「美化」的搜尋連結。美化後的搜尋連結通常長這樣:
http://example.com/search/waldo
因為 WordPress 的缺陷,含有空格的美化搜尋連結無法正常運作,Search Fixer 可以修正這個問題。

如果您使用 Search Meter 的小工具,建議您也安裝 Search Fixer。

技術細節

這個問題是 WordPress bug 13961。這個缺陷導致美化的搜尋 URL 無法正常運作。例如,http://example.com/search/hello%20world 應該會在 example.com 的 Blog 中搜尋「hello」和「world」,但因為這個缺陷,它實際上會搜尋「hello%20world」而不能正確顯示任何結果。

當 WordPress 漏洞得到修復(大概是在 2011 年),Search Fixer 就不再需要了。我會及時更新 Search Fixer,以確保在 WordPress 漏洞修復後仍能正常運作。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Search Fixer makes “pretty” search links work properly. A pretty search link usually looks like this:
http://example.com/search/waldo
Because of a bug in WordPress, pretty search links with spaces in them do not work. Search Fixer fixes that bug.
If you use Search Meter‘s widgets, you should install Search Fixer too.
Technical details
The bug is WordPress bug 13961. This prevents “pretty” search URLs from working properly. For example, http://example.com/search/hello%20world should search the example.com blog for the words “hello” and “world”, but because of the bug it actually searches for “hello%20world” and fails to find anything.
When the WordPress bug is fixed (probably sometime in 2011) Search Fixer will no longer be necessary. I will keep Search Fixer up to date so it won’t interfere when the WordPress bug gets fixed.

延伸相關外掛

文章
Filter
Mastodon