Disable RSS Plugin for WordPress
Smashing Magazing did a post today including several RSS related WordPress hacks. One of them featured a method to disable all RSS feeds. As they say:
“Let’s say you’re using WordPress as a CMS to manage your online portfolio or your company’s website. In such cases, the RSS feed isn’t that useful, and some people would probably want to remove it.”
Notably, they did not encapsulate the functionality in a plugin. So I will be converting the ones without a associated plugin into plugins over the coming days. This is the first one.
Simply put, all you have to do is upload the plugin, activate it, and viola! No more RSS feeds. You can edit the error message users receive by editing the actual plugin file. (disable-rss.php)
The code:
add_action('do_feed', 'fb_disable_feed', 1); add_action('do_feed_rdf', 'fb_disable_feed', 1); add_action('do_feed_rss', 'fb_disable_feed', 1); add_action('do_feed_rss2', 'fb_disable_feed', 1); add_action('do_feed_atom', 'fb_disable_feed', 1); function fb_disable_feed() { wp_die( __('No feed available,please visit our <a href="'. get_bloginfo('url') .'">homepage</a>!') ); }
Download Disable RSS 1.0 for WordPress 2.7-RC1 Now…
Disable RSS 1.0 for WordPress 2.7-RC1
You can leave a response, or trackback from your own site.

Pingback: Wordpress als CMS ohne RSS | Blogger World
Pingback: 18 WordPress Plugins for RSS Management & Tweaks
Pingback: 18 WordPress Plugins for RSS Management and Tweaks | KGRAND ONLINE NEWS
Pingback: 18 WordPress Plugins for RSS Management and Tweaks - F.ollow.me - http://twitter.com/riku
Pingback: 18 WordPress Plugins for RSS Management | DawidRyba Blog
Pingback: 11 Wordpress Плъгина за RSS
Pingback: Disha Hosting » Wordpress tips for RSS plugins.
Pingback: 18 WordPress Plugins for RSS Management and Tweaks « Alex DiggMore
Pingback: Just Social » 18 Wordpress plugins for RSS Management tweaking
Pingback: 18 RSS Management and Tweaks for WordPress Plugins | oOrch Blog
Pingback: 18 WordPress-плагинов для работы с RSS : Социальные медиа новости и web гид – NIPL.ru – Русская версия Mashable
Pingback: 18 Plugin giúp bạn quản lý RSS trong wordpress | NgocThach Blog
Pingback: 18 Plugin giúp bạn quản lý RSS trong wordpress | wWw.NgocTuanVn.OrG
Pingback: 18 WordPress Plugins for RSS Management and Tweaks | IdolMasti
Pingback: Supprimer / Désactiver les flux RSS sous Wordpress
Pingback: 18 Great WordPress Plugins for RSS Feed Management & Tweaks | Wordpress How To's | Customizations | Tips | Themes | Plugins | Hosting | Books
Pingback: CAP Marketer - 18 Plugins WordPress pour la gestion des flux RSS et Tweaks (en Anglais)