• I am trying to remove all feeds from a site. There should be no access to it without directly visiting.

    To that end, per instructions I found here, I removed:

    wp-atom.php
    wp-comments2rss.php
    wp-feed.php
    wp-links-opml.php
    wp-rdf.php
    wp-rss.php
    wp-rss2.php

    From the main directory in which WP is installed.

    Yet, when I click the Entries RSS link from the blog, there’s still a feed. And setting the feed to show the last 0 entries in the Manage screen doesn’t work, as it will automatically default back to 1.

    I don’t want a feed at all, with any number of entries.

    Clearly something else needs to be removed, but what?

    I know people are in love with feeds and are loathe to help someone disable them in a WP install, but this is for content which needs to have controlled access, and therefore feeds are inappropriate.

    I need a definitive answer which solves this problem conclusively.

    Limited access to the site in question can be given to someone who has the ability to help.

Viewing 5 replies - 16 through 20 (of 20 total)
  • So I was right after all. Thanks for backing me up Otto.

    No Feed plugin will do this. (Obviously inspired by this post).

    I tried the plugin, it doesn’t seem to work for 2.5.

    I don’t want feeds coming out of my private blog ever and do believe the option to disable them should be included. Having feeds on a private journal is like going to bed with the front door locked and the back door open.

    ya, imagine my surprise to find out that EVERYTHING, even private posts/pages are listed in the feed with NO way to remove it. there was NO notice of this whatsoever and resulted in a HUGE legal mess for me!
    i want to know exactly how to remove all feeds and the ability to get a feed from my blog. i can not believe the irresponsibilty here. this is not a joke. and yes i have tried everything listed here and even googled it. nothing.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    furnishu: What? No, Pages are not listed in the feeds at all, period. And private posts don’t show up in them either. The only thing that shows up in the default feed is basically the same stuff that would show up on your homepage.

    Feeds can be disabled in 2.5 and up by adding this code to a plugin or to a theme’s functions.php file:

    remove_action('do_feed_rdf', 'do_feed_rdf', 10, 1);
    remove_action('do_feed_rss', 'do_feed_rss', 10, 1);
    remove_action('do_feed_rss2', 'do_feed_rss2', 10, 1);
    remove_action('do_feed_atom', 'do_feed_atom', 10, 1);

    You’ll also want to delete the wp-rss2.php files and similar feed files from the root directory. But frankly, you probably would want to do that anyway, even if you have feeds. Those files are old and outdated. I wish they’d get rid of them from the core install.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Removing all RSS Feeds from a Site’ is closed to new replies.