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

Disable Feeds

外掛說明

This plugin disables all RSS/Atom/RDF feeds on your site. It is useful if you use WordPress purely as a content management system (and not for blogging). All requests for feeds will be redirected to the corresponding HTML content.

There are a couple of options to tweak the plugin’s behaviour – go to Settings -> Reading to see them.

If you come across any bugs or have suggestions, please use the plugin support forum. I can’t fix it if I don’t know it’s broken! Please check the FAQ for common issues.

Want to contribute? Here’s the GitHub development repository.

安裝方式

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it. All feeds are now disabled (and any requests for a feed will be redirected back to the parent content).

常見問題集

Installation Instructions
  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it. All feeds are now disabled (and any requests for a feed will be redirected back to the parent content).
Why should I disable feeds?

Feeds are useful if you have regularly updated content (blog posts, comments) on your site, and you want people to be able to subscribe to those updates. If you have static pages, then they aren’t, and just add overhead to your site.

There are still RSS links on my site!

This plugin is only able to disable feeds themselves. The links to feeds are generated by your theme, and you will have to edit your theme (or remove the related widgets) to remove those links.

What if I don’t want to redirect feed requests?

In Settings -> Reading you will find an option to turn off redirection and issue a 404 (page not found) response instead.

What if I want to keep the main post/comment feeds but disable all other feeds?

In Settings -> Reading you will find an option to allow global feeds. All other feeds (individual post comments, archives, search, category etc.) will still be disabled.

使用者評論

2019 年 10 月 24 日
Tested with WP 5.2.3 and it is working fine. Checked its code and all was correct and clean.
2018 年 2 月 14 日
Installed and activated it, kept default option (301 redirect). Didn't do anything for me - no effect. The feed pages still exist and are not redirected
閱讀全部 28 則使用者評論

參與者及開發者

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

參與者

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

將 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.