WordPress.org

Support

Support » How-To and Troubleshooting » Setting the default rss feed

Setting the default rss feed

  • I have a site at ElliottAnalysis.com which also has buddypress installed. The problem I’m having is that the rss feed that is being returned to a call from external sites blogroll is the buddypress activity feed rather than the rss feed of the main site at ElliottAnalysis.com.

    It appears that the default rss feed is set to the buddypress activity stream feed. How can I change this so that default becomes rss feed of the main site?

Viewing 1 replies (of 1 total)
  • Pedro

    @petredobrescu

    Hello,

    I had the same issue and I resolved it in the following way:

    – I used a BP compatible child theme
    – in the file called header.php from the child theme I replaced this line:

    <?php do_action( 'bp_head' ) ?>

    with this one:

    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ) ?> | Main RSS Feed" href="<?php bloginfo('url'); ?>/feed/" />

    In this line you can change how you want the title to appear (put something else instead of “Main RSS Feed”) as well as redirect to any other feed (like /feed/category/category-name/feed/ ).

    IMPORTANT: please note that by removing the line above (containing bp_head) you’re also deactivating the members feed, group feed and other similar stuff. I’m not a BP expert and there might be other stuff done there. For my site this fix was ok and I didn’t see any other side effect.

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Setting the default rss feed’ is closed to new replies.
Skip to toolbar