Forums

Author feed in WP 2.2 not working with FeedBurner (2 posts)

  1. dbasulto
    Member
    Posted 4 years ago #

    It seems that using feedburner breaks the author feed function in 2.2

    Anyone experienced the same problem?

    if i use the category feed, it works fine. But if i use the author feed, it redirects me to the feed burner main feed. i tried it with 2 WP 2.2 clean installs. any idea?

  2. RyanW
    Member
    Posted 4 years ago #

    If you are using the feedsmith plugin, it chooses whether or not (ie category feed) to redirect to feedburner based on this line of code

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

    I added: && $feed != 'atom' to the list of criteria so that atom feeds would not redirect to feedburner.

    You might want to do the same, or some other template tag to refine the criteria

Topic Closed

This topic has been closed to new replies.

About this Topic