Getting rid of RSS feeds (7 posts)

  1. Tanya
    Posted 6 years ago #


    I have two RSS feeds coming up on my site and I'm not sure why. I only want the one feedburner feed to be used so I've added it in the header myself using the following code:

    <link rel="alternate" type="application/rss+xml" title="Peter Ahrens RSS feed" href="http://feeds.feedburner.com/peterahrens" />

    I've removed all the other RSS links and yet there is still two feeds. If I remove the above code it will still have a feed displayed in the browser but it doesn't link anywhere. I've also got the feedsmith plugin installed.

    My website is http://peterahrens.com.au.

    Anyone got any idea,

  2. Mark / t31os

    Posted 6 years ago #

    I think the guide here is quite clear and easy to implement, see if it helps.

  3. Tanya
    Posted 6 years ago #

    Thanks for the reply. I found that code and have tried it, but it removes all feeds on the blog including my feedburner feed.

    http://thinktraffic.net has only the one RSS feed coming up in the URL bar which is a feedburner feed. This is what I'd like to achieve.

  4. esmi
    Forum Moderator
    Posted 6 years ago #

    Try adding:

    remove_action( 'wp_head', 'feed_links_extra', 3 ); // removes comment feed link

    to the top of your theme's functions.php file just after the opening <?php line

  5. Tanya
    Posted 6 years ago #

    Thanks again but it's still not working. I'm starting to wonder if it's the shopp plugin I have installed creating this feed. It doesn't actually go to any feeds at all.

  6. Tanya
    Posted 6 years ago #

    Sorry that's not true. I just tried it in Safari and both go to feedburner. Whereas firefox sends it to a non existing feed in one of the shopp folders

  7. Tanya
    Posted 6 years ago #

    Ok, I've found the culprit.

    <link rel='alternate' type="application/rss+xml" title="<?php htmlentities(bloginfo('name')); ?> <?php echo urldecode($this->Category->name); ?> RSS Feed" href="<?php echo $link; ?>" />

    This line is adding an RSS feed to every page from my shopp plugin. Does anyone know how to write something up in the functions.php file to remove it?

    Thanks a lot for all the help so far too.

Topic Closed

This topic has been closed to new replies.

About this Topic