(+84) 463.28.7979

How to Save Your WordPress Tag Feeds in FeedBurner FeedSmith


In our step by step guide to setup a FeedBurner account with WordPress, we recommend that you should redirect your WordPress feeds to the feedburner feeds using the official FeedBurner FeedSmith Plugin. Today, one of our users reported a bug that by redirecting the feeds, this plugin hijacks your tag feeds. Meaning that your tag feeds will also be pointed to your main feedburner feed. While that may not be an issue for some users, but for other WordPress users, this can be a problem.

To fix this issue open the file FeedBurner_FeedSmith_Plugin.php, and find this line:

1 if (is_feed() && $feed != 'comments-rss2' && !is_single() && $wp->query_vars['category_name'] == '' && ($withcomments != 1) && trim($feedburner_settings['feedburner_url']) != '') {

Replace it with this:

1 if (is_feed() && $feed != 'comments-rss2' && !is_single() && $wp->query_vars['category_name'] == '' && $wp->query_vars['tag'] == '' && ($withcomments != 1) && trim($feedburner_settings['feedburner_url']) != '') {

Thanks to @dominik for reporting and providing a solution.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>