How to remove feed from WP Core (6 posts)

  1. sneakerobsession
    Posted 3 years ago #

    How's everybody doing.

    I'm trying to figure out how I go about deleting the files that are used to create my sites feed?

    There's a boat load of scrapper sites (thousands) that have been duplicating my content. I imagine they're getting the info from my feed. In order to avoid this from happening anymore, I would like to get rid of my feed altogether, but I'm not quite sure how to do so.

    So far, I've deleted my feedburner account and deleted the line of code in my header.php file that went sometime like <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="................/feed/" /><!-- Feed -->

    Even after doing that, a feed is still able to be pulled up on my site, as shown here: http://tinyurl.com/7wyu6ex

    Looking in my WordPress files, I notice several files that seem to pertain to the feed (wp-rss, wp-rss2, wp-atom, wp-feed). Do I simply just delete these files to get rid of my feed?

    Any sort of help here would be greatly appreciated. Thanks.

  2. jevets
    Posted 3 years ago #

    You shouldn't delete any core files. Even if you do, when you update WordPress in the future, they'll just come back.

    You're far better off disabling feeds. Here's a post that covers it. A few google searches will lead to many more posts.

  3. sneakerobsession
    Posted 3 years ago #

    That doesn't seem to completely do the trick, for some reason or another.

    It disables it when you go to "/rss", "/atom" and "/rdf", however, when you just go to "/feed", there's still a feed listed.

  4. Len
    Posted 3 years ago #

    Hi sneakerobsession

    The solution posted by jevets should work. After adding the pertinent code to your theme's functions.php file, go to your last post and hit update. That should clear the cache, which is probably what we're looking at.

  5. sneakerobsession
    Posted 3 years ago #

    Thank you both. Works like a charm.

  6. Len
    Posted 3 years ago #

    You're most welcome. Could you mark this thread as resolved please?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.