该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

描述

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. 通过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. 通过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.
阅读所有31条评价

贡献者及开发者

“Disable Feeds” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Disable Feeds」插件已被翻译至 5 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“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.