前言介紹
- 這款 WordPress 外掛「Rewrite Bases Internationalization」是 2024-07-22 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-04-16,距離現在已有 17 天。
- 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 8.0 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
author | search | comments | pagination | permalinks |
內容簡介
### WordPress 外掛簡介:
這個外掛讓您可以在 WordPress 中自訂和國際化作者檔案、搜尋結果、評論和頁面網址的 rewrite bases。它提供了一個易於使用的界面,在 Permalinks 設定頁面上設置這些基礎值。
#### 重要特點:
- 可自訂作者、搜尋、評論、頁面(分頁)的網址rewrite bases
- 如果可用,自動使用 WordPress 的語言特定術語作為預設值
- 與 WordPress Permalinks 設定頁面無縫集成
### 問答:
1. 如何處理在您的網站上看不到永久連結更改的情況?
- 前往您的 WordPress 管理面板中的「設定」>「連結」。
- 在頁面底部,點擊「保存更改」按鈕,即可,無需進行任何更改。
2. 這個外掛的主要動機是什麼?
- 在 WordPress 中,作者、搜尋、評論和頁面(分頁)的國際化重寫基礎不是 WordPress 核心的一部分。這是因為 WP_Rewrite 類使用了寫死的字符串,直到 2024 年才得到翻譯。有一個舊的 ticket (#1762) 討論了這個問題,其中包括修改 WP_Rewrite 屬性與外掛的想法。這個外掛實現了這個解決方案。它擴展了原生永久連結設置頁面,並添加了一個部分來更改作者、搜尋、評論和頁面(分頁)的 rewrite bases。預設情況下,這些基礎值是基於您網站當前語言的。
3. 如何貢獻這個外掛?
- 請查看外掛的 GitHub 存儲庫。
4. 如果想瞭解更多關於 WordPress Rewrite API 的資訊在哪裡可以找到?
- 請參閱 WordPress Rewrite API 文件。
原文外掛簡介
This plugin allows you to customize and internationalize the rewrite bases for author archives, search results, comments and page slugs in WordPress. It provides an easy-to-use interface in the Permalinks Settings page to set custom values for these bases.
If you notice that your permalink changes aren’t reflecting on your site, try the following steps:
Go to Settings > Permalinks in your WordPress admin panel.
Without making any changes, click the “Save Changes” button at the bottom of the page.
Key Features
Customize rewrite bases for author, search, comments and page (pagination) slugs
Automatically uses WordPress’s language-specific terms as defaults, if available
Integrates seamlessly with the WordPress Permalinks Settings page
Motivation
Internationalized rewrite bases for author, search, comments and page (pagination) in WordPress are not part of the WordPress Core. This is because the WP_Rewrite class uses hardcoded strings which were never translated until 2024. There is an old ticket (#1762) that discusses this issue, including the idea of modifying the WP_Rewrite property with a plugin. This plugin implements that solution. It extends the native Permalinks settings page and adds a section to change the rewrite bases for author, search, comments and page (pagination). By default, these are based on the current language of your site.
Want to contribute?
Check out the Plugin GitHub Repository.
Additional Info
For more information about the WordPress Rewrite API, please visit the WordPress Rewrite API documentation.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Rewrite Bases Internationalization」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Search Regex 》Search Regex 提供了強大的搜尋和替換函數,可用於 WordPress 文章、頁面、自定義文章類型等數據源的搜尋與替換,這些功能超越了標準搜尋功能,讓你可以搜尋...。
String locator 》當你在開發主題和外掛時,你經常會注意到某些文字被硬編碼在文件中,你需要對其進行修改,但你不知道該主題或外掛的名稱,更不知道要查找哪個文件。, 你可以...。
Search & Replace 》, 注意:此外掛未進行維護。, , 程式碼會繼續留在 SVN 和 Github 上,如果您有興趣。, 使用「Search & Replace」工具,您可以搜尋任何內容並以其他內容取...。
Relevanssi – A Better Search 》Relevanssi 取代了 WordPress 標準搜尋引擎,提供更好的搜尋體驗、豐富的功能和可配置的選項。使用 Relevanssi 會獲得更好的搜尋結果和呈現方式,你的使用者...。
Ivory Search – WordPress Search Plugin 》Ivory Search 是一個易於使用的 WordPress 高級搜尋插件。, 它可以增強預設的 WordPress 搜尋功能,還可以讓您創建新的自定義搜尋表單。, 使用 Ivory Search...。
Real-Time Find and Replace 》這個外掛允許你在頁面產生時,動態地替換主題和其他外掛的代碼和文字為你選擇的代碼和文字,然後再傳送頁面給使用者的瀏覽器。, 由於查找和替換是實時進行的...。
Ajax Search Lite – Live Search & Filter 》Ajax Search Lite 是一款 WordPress 的即時搜尋外掛程式。這款響應式的即時搜尋引擎將提供一個使用者友好的 AJAX 驅動搜尋表單 - 即時搜尋欄。你也可以使用分...。
Advanced Woo Search 》說明:, , Advanced Woo Search - 功能強大的 WooCommerce 搜索插件,支援 AJAX 搜索和搜尋結果頁面顯示。, 插件官方網站 | 功能列表 | 文檔, 主要功能, , 產...。
Search Exclude 》這個外掛能夠讓你勾選該頁面、文章或其他內容的複選框來將其排除在 WordPress 搜尋結果之外。, 支援快速和批次編輯。, 在外掛設置頁面中,您也可以看到所有被...。
Customizer Search 》是否使用使用 WordPress 自訂樣式主題?那你一定會喜歡這個外掛!不再花時間找尋設定,只需要搜尋你想要的設定項目,就可以立即前往該設定。, 適用於所有 Wor...。
SearchWP Live Ajax Search 》此 WordPress 外掛不需要SearchWP,但如果有的話就會使用它。在 searchwp.com 可以找到完整文檔。, 歡迎在 GitHub 上貢獻您的力量!https://github.com/jchri...。
Search & Filter 》Search & Filter 是一款簡單的 WordPress 搜尋和篩選外掛程式,是 WordPress 搜尋框的進階版。, 您可以透過類別、標籤、自訂分類、文章類型、發佈日期或...。
Better Find and Replace 》p>這個外掛提供了一個簡單的方式,可以搜尋目標字詞並且以你想要的字詞替換它。搜尋與替換的過程發生在網站在瀏覽器中呈現之前,不會影響到任何其他檔案或資...。
Disable Search 》此外掛可防止 WordPress 處理和允許任何來自網站前端的搜尋請求。具體來說,此外掛:, , 若主題使用標準的 get_search_form() 函式來顯示搜尋表單,則無法顯...。
ACF: Better Search 》此插件可為 WordPress 搜尋引擎添加額外功能,讓您可以在 Advanced Custom Fields 指定的欄位中搜尋內容。, 一切都是自動運作的,您無需添加任何額外的程式碼...。