Forums

The WordPress MU forums have moved to the MultiSite forum on WordPress.org

Blog randomly redirects to comments RSS feed. Need advise (10 posts)

  1. MKozlov
    Member
    Posted 1 year ago #

    We have 5 blogs on MU. each lives in its folder and every thing works great except once in a while WP redirects (or responses I should say) users to comments RSS feed of one of the blogs. The path stays the same and every thing works once you refresh the page.

    Questions:
    Any idea why this happening every other time?

    Is there any way to refresh/reload/update wordpress's redirect rules?

    Is there are any way to turn off rss feed for comments?

  2. MKozlov
    Member
    Posted 1 year ago #

    Not a single idea on where the problems are?

  3. MKozlov
    Member
    Posted 1 year ago #

    No this is just FIY: I have commented out do_feed() in /wp-includes/template-loader.php. Still once a while I have rss instead of page/category/post.

    Any other places i should look that can spit out rss?

  4. DeannaS
    Member
    Posted 1 year ago #

    I've never seen this behavior. I'm wondering if it's a theme issue or plugin issue.

  5. MKozlov
    Member
    Posted 1 year ago #

    Ok. I'm done fiddling around. I went into /wp-includes/class-simplepie.php and hard coded function is_feed(&$file) to have another if statement that looks at $_SERVER['REQUEST_URI']) and look for '/feed', if it is not there -> false, otherwise carry on with normal wp rooting.

    I'll keen an eye on this post in case some have better ideas

  6. MKozlov
    Member
    Posted 1 year ago #

    It does not seem to work. Moving up the chain... moving this check to general-template.php. Seems like working better (more consistent).

  7. DeannaS
    Member
    Posted 1 year ago #

    So, before you started hacking core, did you try switching to the default theme and disabling plugins?

  8. MKozlov
    Member
    Posted 1 year ago #

    Well, this is live website and i do not have that luxury, but everything works perfect on test server. We do all dev. on test server and than move themes to live server.

    I suspect this was triggered when we moved content from development machine to live blog for one of the blogs (but it was before I took over).

  9. conualfy
    Member
    Posted 1 year ago #

    I'm having the same problem on my site: http://bit.ly/c496X4 on WP (not MU). I'll be trying some changes (it's in production, so i can't do very much during daytime): overwriting new WP files, disabling plugins, changing to default theme.

  10. conualfy
    Member
    Posted 1 year ago #

    All the above did not fix the bug, any idea how to fix it? Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic