• Hi,

    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="https://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 https://peterahrens.com.au.

    Anyone got any idea,
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • I think the guide here is quite clear and easy to implement, see if it helps.
    https://wpengineer.com/disable-wordpress-feed/

    Thread Starter Tanya

    (@pjtna)

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

    https://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.

    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

    Thread Starter Tanya

    (@pjtna)

    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.

    Thread Starter Tanya

    (@pjtna)

    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

    Thread Starter Tanya

    (@pjtna)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Getting rid of RSS feeds’ is closed to new replies.