這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Disable Feeds

外掛說明

這個外掛能停用 WordPress 網站全部 RSS/Atom/RDF 資訊提供,這對將 WordPress 用作純粹的內容管理系統 (而非部落格) 來說非常實用,它會將全部資訊提供的要求重新導向至對應的 HTML 內容。

請前往 [設定]→[閱讀] 調整外掛行為。

如果遇到程式碼錯誤或有任何建議,請前往外掛技術支援論壇提出。請注意,外掛開發者無法在完全不知情的狀況下做出任何修正。請查看常見問題集以了解常見問題。

如果想參與外掛開發,請前往外掛的 GitHub 存放庫

安裝方式

  1. 將外掛安裝套件 ZIP 壓縮檔解壓縮所得的 disable-feeds-wp 資料夾上傳至網站的 /wp-content/plugins/ 目錄。
  2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
  3. 大功告成!外掛啟用後,便會立即停用全部資訊提供,且資訊提供的要求會重新導向至上層內容。

常見問題集

安裝指南
  1. 將外掛安裝套件 ZIP 壓縮檔解壓縮所得的 disable-feeds-wp 資料夾上傳至網站的 /wp-content/plugins/ 目錄。
  2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
  3. 大功告成!外掛啟用後,便會立即停用全部資訊提供,且資訊提供的要求會重新導向至上層內容。
停用資訊提供的原因為何?

對會定期更新內容 (例如部落格文章、留言) 的網站來說,WordPress 資訊提供相當實用,而且會希望網站訪客訂閱這些更新。但如果網站為靜態頁面,資訊提供便不再實用,只會增加網站的負擔。

在網站上仍有 RSS 連結。

這個網站僅會停用 WordPress 資訊提供,而資訊提供的連結是由佈景主題產生,因此網站管理員必須編輯佈景主題程式碼 (或移除相關小工具) 才能移除這些連結。

如果不想重新導向資訊提供要求,該如何處理?

請前往 [設定]→[閱讀],便能設定關閉重新導向選項,並改用 404 (找不到頁面) 回應。

如果想要保留主要文章/留言的資訊提供,但想停用其他資訊提供,該如何處理?

請前往 [設定]→[閱讀],便能設定允許全域資訊提供的選項,其他資訊提供 (文章中的個別留言、彙整頁面、搜尋頁面、分類頁面等) 仍會保持停用。

使用者評論

2019 年 10 月 24 日
Tested with WP 5.2.3 and it is working fine. Checked its code and all was correct and clean.
閱讀全部 31 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Disable Feeds〉的開發相關工作。

參與者

〈Disable Feeds〉外掛目前已有 6 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Disable Feeds〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4.4

  • Add translation support.

1.4.3

  • Compatiblity for for WP 3.6 when feed URLs are set to return a 404 response.

1.4.2

  • Fix potential security issue when redirecting feeds.

1.4

  • Added BBPress support, thanks to Matthew Sigley.

1.3.1

  • Bugfix: Missing global variable caused error when feed URL were set to 404.

1.3

  • More robust feed redirection. In some rare cases, WordPress fails to automatically redirect the user to the parent content. If this happens, the plugin now attempts a redirect by parsing the URL and removing the feed portion manually. Most installations will not be affected.

1.2.1

  • Bugfix: Old WordPress feed URLs were not being redirected.

1.2

  • Added the option to allow the global post and comment feeds.

1.1.1

  • Bugfix: Redirect/404 setting in Settings -> Reading did not update properly.

1.1

  • Added the option to disable redirection of feed requests (and issue a 404 instead)

1.0

  • First public release.